Path
/topicmaps/{tm}/pools/{pool}/permissions
Description
Topic map pool permissions collection.
Supported HTTP Operations
|
|
|
GET
|
Returns the permissions assigned to the pool. With a query parameter named "all" set to true, returns a ListRepr of PermissionRepr items representing all users permissions on the pool. 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 topic map 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 pool requires Administrator privileges on the pool or the parent topic map.
Updating permissions on a pool requires Administrator privileges on the pool or the parent topic map.
|