Permission Sets

class Permission_Sets(session_kwargs, client, return_type='raw')

Civis API /permission_sets endpoint.

Methods

delete_resources(id, name)

Delete a resource in a permission set

delete_resources_shares_groups(id, name, ...)

Revoke the permissions a group has on this object

delete_resources_shares_users(id, name, user_id)

Revoke the permissions a user has on this object

delete_shares_groups(id, group_id)

Revoke the permissions a group has on this object

delete_shares_users(id, user_id)

Revoke the permissions a user has on this object

get(id)

Get a Permission Set

get_resources(id, name)

Get a resource in a permission set

list(*[, archived, author, limit, page_num, ...])

List Permission Sets

list_dependencies(id, *[, user_id])

List dependent objects for this object

list_resources(id, *[, limit, page_num, ...])

List resources in a permission set

list_resources_shares(id, name)

List users and groups permissioned on this object

list_shares(id)

List users and groups permissioned on this object

list_users_permissions(id, user_id)

Get all permissions for a user, in this permission set

patch(id, *[, name, description])

Update some attributes of this Permission Set

patch_resources(id, name, *[, description])

Update a resource in a permission set

post(name, *[, description])

Create a Permission Set

post_resources(id, name, *[, description])

Create a resource in a permission set

put(id, name, *[, description])

Replace all attributes of this Permission Set

put_archive(id, status)

Update the archive status of this object

put_resources_shares_groups(id, name, ...[, ...])

Set the permissions groups has on this object

put_resources_shares_users(id, name, ...[, ...])

Set the permissions users have on this object

put_shares_groups(id, group_ids, ...[, ...])

Set the permissions groups has on this object

put_shares_users(id, user_ids, ...[, ...])

Set the permissions users have on this object

put_transfer(id, user_id, ...[, email_body, ...])

Transfer ownership of this object to another user