Path
/schemas/{schema}/permissions
Description
The permissions granted on a schema.
Supported HTTP Operations
|
|
|
GET
|
With a query parameter named "all" set to true, returns a ListRepr of PermissionRepr items representing all users permissions on the schema. Without the "all" parameter or with "all" set to false, returns a ListRepr of PermissionRepr items representing the permissions granted to the current user.
|
XML, JSON
|
POST
|
Sets the schema permissions for one or more users or roles. Post content must be a ListRepr of PermissionRepr items.
|
XML, JSON
|
Notes
Returning all users permissions for a schema requires Administrator privileges on the schema.
Updating permissions on a schema requires Administrator privileges on the schema.
|