mirror of https://github.com/BOINC/boinc.git
29 lines
622 B
PHP
29 lines
622 B
PHP
<?php
|
|
|
|
/**
|
|
* Implementation of hook_user_default_permissions().
|
|
*/
|
|
function news_user_default_permissions() {
|
|
$permissions = array();
|
|
|
|
// Exported permission: create news content
|
|
$permissions['create news content'] = array(
|
|
'name' => 'create news content',
|
|
'roles' => array(
|
|
'0' => 'administrator',
|
|
'1' => 'content editor',
|
|
),
|
|
);
|
|
|
|
// Exported permission: edit any news content
|
|
$permissions['edit any news content'] = array(
|
|
'name' => 'edit any news content',
|
|
'roles' => array(
|
|
'0' => 'administrator',
|
|
'1' => 'content editor',
|
|
),
|
|
);
|
|
|
|
return $permissions;
|
|
}
|