com.atlassian.bitbucket.permission.PermissionAdminService |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check if the current user can add users to the given group.
| |||||||||||
Check if the current user can delete a group without affecting their permissions
| |||||||||||
Check if the
normal user can be deleted. | |||||||||||
Check if a
normal user can remove themselves from the given group. | |||||||||||
Retrieves a page of
groups and their highest global permission. | |||||||||||
Retrieves a page of
groups and their highest granted permission for the specified project. | |||||||||||
Retrieves a page of
groups and their highest granted permission for the specified
repository. | |||||||||||
Retrieves a page of groups who have not been explicitly granted any global permission
| |||||||||||
Retrieves a page of groups who have not been explicitly granted any project permission
| |||||||||||
Retrieves a page of groups who have not been explicitly granted any repository permission.
| |||||||||||
Retrieves a page of
users and their highest global permission. | |||||||||||
Retrieves a page of
users and their highest granted permission for the specified project. | |||||||||||
Retrieves a page of
users and their highest granted permission for the specified
repository. | |||||||||||
Retrieves a page of
active users who have not been explicitly
granted any global permission | |||||||||||
Grant a project permission to all users users
| |||||||||||
Check if the given project permission has been granted to every logged in user for the given project.
| |||||||||||
Revoke all global permissions for the given user.
| |||||||||||
Revoke all global permissions for the given group.
| |||||||||||
Revoke all permissions granted to a group.
| |||||||||||
Revoked a project permission from all users users
| |||||||||||
Revoke all project permissions for the given group.
| |||||||||||
Revoke all project permissions for the given user.
| |||||||||||
Revoke all repository permissions for the given user.
| |||||||||||
Revoke all repository permissions for the given group.
| |||||||||||
Revoke all permissions from a user.
| |||||||||||
Revoke all permissions from a
normal user. | |||||||||||
Assigns a permission to multiple users and/or groups.
|
Check if the current user can add users to the given group.
group | the group to which users will be added. |
---|
Check if the current user can delete a group without affecting their permissions
group | the group to be deleted. |
---|
Check if the normal
user can be deleted.
userName | the name of the user being deleted |
---|
Check if a normal
user can remove themselves from the given group.
username | the user to check |
---|---|
group | the group from which the user is to be removed. |
Retrieves a page of groups
and their highest global permission. Groups which do not have any global permissions
explicitly assigned to them will not be returned.
filter | if non-null non-empty then the groups returned must include this text |
---|---|
pageRequest | bounds the page of groups to be returned |
Retrieves a page of groups
and their highest granted permission for the specified project.
Groups which do not have any permissions explicitly assigned to them for the specified
project will not be returned.
project | the project for which permissions should be considered |
---|---|
filter | if non-null non-empty then the groups returned must include this text |
pageRequest | bounds the page of groups to be returned |
Retrieves a page of groups
and their highest granted permission for the specified
repository. Groups which do not have any permissions explicitly assigned to them for the specified
repository will not be returned.
repository | the repository for which permissions should be considered |
---|---|
filter | if non-null non-empty then the groups returned must include this text |
pageRequest | bounds the page of groups to be returned |
Retrieves a page of groups who have not been explicitly granted any global permission
filter | if non-null non-empty then the groups returned must include this text |
---|---|
pageRequest | bounds the page of groups to be returned |
Retrieves a page of groups who have not been explicitly granted any project permission
project | the project for which the permissions are required. |
---|---|
filter | if non-null non-empty then the groups returned must include this text |
pageRequest | bounds the page of groups to be returned |
Retrieves a page of groups who have not been explicitly granted any repository permission.
repository | the repository for which the permissions are required. |
---|---|
filter | if non-null non-empty then the groups returned must include this text |
pageRequest | bounds the page of groups to be returned |
Retrieves a page of active
and licensed
users who
have not been explicitly granted any project permission
project | the project for which the permissions are required. |
---|---|
filter | if non-null non-empty then the usernames returned must include this text |
pageRequest | bounds the page of users to be returned |
Retrieves a page of active
and licensed
users who
have not been explicitly granted any repository permission.
repository | the repository for which the permissions are required. |
---|---|
filter | if non-null non-empty then the usernames returned must include this text |
pageRequest | bounds the page of users to be returned |
Retrieves a page of users
and their highest global permission. Users which do not have any
global permissions explicitly assigned to them will not be returned.
filter | if non-null non-empty then the usernames returned must include this text |
---|---|
pageRequest | bounds the page of users to be returned |
Retrieves a page of users
and their highest granted permission for the specified project. Users
which do not have any permissions explicitly assigned to them for the specified project will not be
returned.
project | the project for which permissions should be considered |
---|---|
filter | if non-null non-empty then the usernames returned must include this text |
pageRequest | bounds the page of users to be returned |
Retrieves a page of users
and their highest granted permission for the specified
repository. Users which do not have any permissions explicitly assigned to them for the specified
repository will not be returned.
repository | the repository for which permissions should be considered |
---|---|
filter | if non-null non-empty then the usernames returned must include this text |
pageRequest | bounds the page of users to be returned |
Retrieves a page of active
users who have not been explicitly
granted any global permission
filter | if non-null non-empty then the usernames returned must include this text |
---|---|
pageRequest | bounds the page of users to be returned |
Grant a project permission to all users users
permission | the project permission to be granted |
---|---|
project | the project on which permission is to be revoked |
Check if the given project permission has been granted to every logged in user for the given project.
permission | the permission to be checked. |
---|---|
project | the project for which the permissions are required. |
Revoke all global permissions for the given user.
user | user to revoke permissions from |
---|
Revoke all global permissions for the given group.
group | name of the group |
---|
Revoke all permissions granted to a group.
name | name of the group |
---|
Revoked a project permission from all users users
permission | the project permission to be revoked |
---|---|
project | the project on which permission is to be revoked |
Revoke all project permissions for the given group.
project | the project on which permissions are to be revoked |
---|---|
group | name of the group |
Revoke all project permissions for the given user.
project | the project on which permissions are to be revoked |
---|---|
user | user to revoke permissions from |
Revoke all repository permissions for the given user.
repository | the repository on which permissions are to be revoked |
---|---|
user | user to revoke permissions from |
Revoke all repository permissions for the given group.
repository | the repository on which permissions are to be revoked |
---|---|
group | name of the group |
Revoke all permissions from a user.
user | the user |
---|
Assigns a permission to multiple users and/or groups.
Note that:
request | request specifying which permission to grant to which users and/or groups |
---|