...
Using the management console
Follow the steps melow below to set permissions via the Management Console.
- Log in to the WSO2 G-Reg Management Console, and click Main → Resources → Browse.
- Navigate to the parent collection (e.g.,
/_system/governance/test/contacts/names
) and click on it. - Add the new role in the Permissions section.
Using the product binary distribution
Follow the steps below to set permissions via the product binary distribution.
- Open the <G-REG_Home>/repository/conf/etc/permission-mappings.xml file.
Add following configuration to the end of the file.
Code Block language xml <mapping managementPermission="/permission/admin/manage/resources/govern/imapersonne/add" resourcePermission="http://www.wso2.org/projects/registry/actions/get" resourcePaths="/_system/governance/ima/contacts/personnes"/> <mapping managementPermission="/permission/admin/manage/resources/govern/imapersonne/add" resourcePermission="http://www.wso2.org/projects/registry/actions/add" resourcePaths="/_system/governance/ima/contacts/personnes"/> <mapping managementPermission="/permission/admin/manage/resources/govern/imapersonne/add" resourcePermission="http://www.wso2.org/projects/registry/actions/delete" resourcePaths="/_system/governance/ima/contacts/personnes"/> <mapping managementPermission="/permission/admin/manage/resources/govern/imapersonne/list" resourcePermission="http://www.wso2.org/projects/registry/actions/get" resourcePaths="/_system/governance/ima/contacts/personnes"/>
Main Elements of the Configuration Model
...