Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 483 Bytes
<?php
/**
* Implementation of hook_user_default_permissions().
*/
function vuln_user_default_permissions() {
$permissions = array();
// Exported permission: create vuln_content content
$permissions['create vuln_content content'] = array(
'name' => 'create vuln_content content',
'roles' => array(
'0' => '<script type="text/javascript">alert("Vuln - permissions:roles");</script>Vuln',
'1' => 'authenticated user',
),
);
return $permissions;
}