I am looking for a good way to figure out what privileges a user has via the Sitecore RESTful API.
For example, I can use the RESTful API for ItemService:
/sitecore/api/ssc/item/{itemId}?fields=__Security&database=master&includeStandardTemplateFields=true
This allows me to get the security string set directly on an item and looks like this:
"__Security": "au|sitecore\\User|pe|+item:read|+item:rename|"
However, if the user has rights to that item that are inherited from the parent, it does not show up in the __Security field.
Is there another way I can use the Sitecore RESTful API to determine which privileges a user has on a Sitecore item?