groupPermissions
GroupPermission
Bases: BitbucketCloudBase
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/groupPermissions.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
|
group
property
The repository variable group
links
property
The repository variable links
permission
property
The repository variable permission
type
property
The repository variable type
GroupPermissions
Bases: BitbucketCloudBase
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/groupPermissions.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
each(q=None, sort=None)
Returns the list of group permissions in this repository.
:param q: string: Query string to narrow down the response. See https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering for details. :param sort: string: Name of a response property to sort results. See https://developer.atlassian.com/bitbucket/api/2/reference/meta/filtering for details.
:return: A generator for the GroupPermission objects
API docs: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-permissions-config-groups-get
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/groupPermissions.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|
get(group_slug)
Returns the group permission with the group slug in this repository.
:param group_slug: string: The requested permission group_slug
:return: The requested GroupPermission objects
API docs: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-permissions-config-groups-group-slug-get
Source code in server/vendor/atlassian/bitbucket/cloud/repositories/groupPermissions.py
44 45 46 47 48 49 50 51 52 53 54 |
|