Skip To Content
ArcGIS Developers
Dashboard

Has Child Permissions Conflict

Description

You can invoke this operation on the resource (folder or service) to determine if this resource has a child resource with opposing permissions. This operation is typically invoked before adding a new permission to determine if the new addition will overwrite existing permissions on the child resources. For more information, see the section on the Continuous Inheritance Model. Since this operation checks if the permission to be added will cause a conflict with permissions on a child resource, this operation takes the same parameters as the Add Permission operation.

Note:

This operation only tests the current permissions and does not change any existing permissions.

Request parameters

ParametersDescription
principal

The name of the role for whom the permission is being assigned

Example

principal=Analysts
f

The response format. The default response format is html.

Value: html | json | pjson

Example usage

Below is a sample POST request for hasChildPermissionsConflict:

POST /webadaptor/admin/services/Maps/permissions/hasChildPermissionsConflict HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

principal=Analysts&isAllowed=on&constraint=&childURL=&operation=&f=json

JSON Response example

{
  "hasChildPermissionsConflict": false
}