What is the usage for "Pages" namespace prefix of Permission definition in ZERO? #7481
Hi guys, I am little confuses about the permissoin definition with "Pages" prefix, such as "Pages_Administration_Roles_Create", instead of it with "Administration_Roles_Create" will more simple, why add the prefix? Is there a reason to do that?
Pageprefix is to indicate view permission.
There are some cases where view permissions have to be separated from API permissions.
also certain view permission might not present at API permission level. e.g.
View Dashboardview permission cannot be directly mapped to API, instesd it can be mapped a view controller.
Hi @trendline it depends on your API requirements.
In general if your API permissions do not differ much from your view permissoon, you can use the same permission.
However, if you intent to expose the API to third party developer or external application, you can consider using different permission sets