Policies of the rss module
The policy functions of rss and their limitations, from $FunctionList in kernel/rss/module.php. In the administration they are chosen under Roles and policies; a policy on rss/* grants every function.
edit
Checked by the views: edit_export, edit_import, list.
No limitations: the policy is all or nothing.
// Give a role the policy (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'rss', 'edit' );if fetch( 'user', 'has_access_to', hash( 'module', 'rss', 'function', 'edit' ) )
...
/iffeed
Checked by the views: feed.
No limitations: the policy is all or nothing.
// Give a role the policy (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'rss', 'feed' );if fetch( 'user', 'has_access_to', hash( 'module', 'rss', 'function', 'feed' ) )
...
/ifRelated
Generated by ./console exp:help:examples from kernel/rss/module.php, kernel/classes/ezrole.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.