For example, if you have a group called myMenuGroup with menu items myUsersItem, myAdminItem, and myUserMgrItem, and you want to specify the following:
-
Users with any user role can see the myMenuGroup and myUsersItem groups.
-
Only the users with the Administration user role can see the myAdminItem group.
-
Users with the User Manager user role can see the myUserMgrItem group.
See the following example:
<?xml version="1.0" encoding="UTF-8"?>
<features
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="feature.xsd">
<category name="myMenuGroup"
<feature name="myUsersItem" allow="administration,operations,maintenance,auditor,usermanager">
</feature>
<feature name="myAdminItem" allow="administration"/>
</feature>
<feature name="myUserMgrItem" allow="administrator, usermanager"/>
</feature>
</category>
</features>