Select to view content in your preferred language

Role Permissions - Possible to get a description of each individual permission?

268
0
01-09-2024 01:48 PM
Labels (1)
Mike_Quetel
Occasional Contributor

I'm attempting to inventory the permissions that have been enabled for roles in our enterprise portal.  It's straightforward to get the permissions for a given role, and I end up with a list of what seem to be permission id's. For example, one of our roles returns this when I print the permissions:

['features:user:edit', 'portal:user:joinGroup', 'portal:user:viewOrgGroups', 'portal:user:viewOrgItems', 'portal:user:viewOrgUsers', 'premium:user:demographics', 'premium:user:elevation', 'premium:user:geocode', 'premium:user:networkanalysis']

These permission ids correspond with tables in the developer documentation Role: ArcGIS API for Python and include an easy to understand description of what the permission actually does (example below). 

My question is:  Are these descriptions accessible from the API anywhere?  I'd like my script to be able to output these descriptions so the inventory is more readable.

Thank you in advance!

 

MikeQuetel1_0-1704836832839.png

 

 

0 Replies