I’m working on developing a feature about checking whether users have appropriate permission to update custom content. To be permitted on updating custom content, the user must be granted appropriate permission on General(Space Settings > Space Permissions > General) permission, and also have the right permission on Add-ons permission(Space Settings > Space Permissions > Apps). I can check on the General side by calling the REST API, but I’m having difficulties trying to figure out how can we check the permission on Apps side. I can’t find any API that can do the trick.
The Apps permission is what we will define in
CustomContent module in our descriptor, whenever a user or group has been added into a space permission settings, the Apps permission seems not to be automatically granted, and must be set by user manually. It would be helpful if we are able to check on the Apps permission programmatically and guide our user to update the permission.
Any help/advice would be appreciated!