set_auth
Grant or Deny a function (permission) to a group.
Description
This function allows granting or denial of a function (permission) to a group in the Content Delivery application.
Parameters
- action
- set_auth
- set
- Desired action i.e. 'grant' or 'deny'.
- group
- Name of a group in the Content Delivery application.
- function
- Name of a function (i.e. permission) in the Content Delivery application.
Example URL
http://<host>:<port>/<context>/web/admin.xql?action=set_auth&set=<value>&group=<value>&function=<value>
Successful Result
This function returns a standard API result element (<result status='SUCCESS' statusCode='0' message='Localized Message' messageKey='message.key'/>). A statusCode of 0 indicates a successful execution. Any other statusCode indicates a failure.
Failed Result
If the request is to the see the permissions of any user other than the current user, this API feature requires the "Manage application" permission, and the function will throw a permission exception if the permission is not available.. Also, if Single Sign-On is in effect, this function will throw a permissions exception.