@@ -132,7 +132,7 @@ def get_users_info(self, user_filter=None, start=0, limit=25):
132
132
def get_current_license (self ):
133
133
"""
134
134
Retrieves details about the current license, as well as the current status of the system with
135
- regards to the installed license. The status includes the current number of users applied
135
+ regard to the installed license. The status includes the current number of users applied
136
136
toward the license limit, as well as any status messages about the license (warnings about expiry
137
137
or user counts exceeding license limits).
138
138
The authenticated user must have ADMIN permission. Unauthenticated users, and non-administrators,
@@ -414,7 +414,7 @@ def _url_project_users(self, project_key):
414
414
415
415
def project_users (self , key , start = 0 , limit = None , filter_str = None ):
416
416
"""
417
- Get users who has permission in project
417
+ Get users with permission in project
418
418
:param key: The project key
419
419
:param filter_str: OPTIONAL: users filter string
420
420
:param start:
@@ -447,9 +447,9 @@ def project_users_with_administrator_permissions(self, key):
447
447
448
448
def project_grant_user_permissions (self , project_key , username , permission ):
449
449
"""
450
- Grant the specified project permission to an specific user
450
+ Grant the specified project permission to a specific user
451
451
:param project_key: The project key
452
- :param username: user name to be granted
452
+ :param username: username to be granted
453
453
:param permission: the project permissions available are 'PROJECT_ADMIN', 'PROJECT_WRITE' and 'PROJECT_READ'
454
454
:return:
455
455
"""
@@ -464,7 +464,7 @@ def project_remove_user_permissions(self, project_key, username):
464
464
the specified project or a higher global permission to call this resource.
465
465
In addition, a user may not revoke their own project permissions if they do not have a higher global permission.
466
466
:param project_key: The project key
467
- :param username: user name to be granted
467
+ :param username: username to be granted
468
468
:return:
469
469
"""
470
470
url = self ._url_project_users (project_key )
@@ -496,7 +496,7 @@ def project_groups(self, key, start=0, limit=None, filter_str=None):
496
496
497
497
def project_grant_group_permissions (self , project_key , group_name , permission ):
498
498
"""
499
- Grant the specified project permission to an specific group
499
+ Grant the specified project permission to a specific group
500
500
:param project_key: The project key
501
501
:param group_name: group to be granted
502
502
:param permission: the project permissions available are 'PROJECT_ADMIN', 'PROJECT_WRITE' and 'PROJECT_READ'
@@ -801,7 +801,7 @@ def reindex_repo(self, project_key, repository_slug):
801
801
802
802
def reindex_repo_dev_panel (self , project_key , repository_slug ):
803
803
"""
804
- Reindex all of the Jira issues related to this repository_slug, including branches and pull requests.
804
+ Reindex all the Jira issues related to this repository_slug, including branches and pull requests.
805
805
This automatically happens as part of an upgrade, and calling this manually should only be required
806
806
if something unforeseen happens and the index becomes out of sync.
807
807
The authenticated user must have REPO_ADMIN permission for the specified repository to call this resource.
@@ -917,7 +917,7 @@ def _url_repo_users(self, project_key, repo):
917
917
918
918
def repo_users (self , project_key , repo_key , start = 0 , limit = None , filter_str = None ):
919
919
"""
920
- Get users who has permission in repository
920
+ Get users with permission in repository
921
921
:param start:
922
922
:param limit:
923
923
:param project_key: The project key
@@ -937,7 +937,7 @@ def repo_users(self, project_key, repo_key, start=0, limit=None, filter_str=None
937
937
938
938
def repo_grant_user_permissions (self , project_key , repo_key , username , permission ):
939
939
"""
940
- Grant the specified repository permission to an specific user
940
+ Grant the specified repository permission to a specific user
941
941
:param project_key: The project key
942
942
:param repo_key: The repository key (slug)
943
943
:param username: user name to be granted
@@ -1032,7 +1032,7 @@ def repo_groups_with_administrator_permissions(self, project_key, repo_key):
1032
1032
1033
1033
def repo_grant_group_permissions (self , project_key , repo_key , groupname , permission ):
1034
1034
"""
1035
- Grant the specified repository permission to an specific group
1035
+ Grant the specified repository permission to a specific group
1036
1036
Promote or demote a group's permission level for the specified repository. Available repository permissions are:
1037
1037
REPO_READ
1038
1038
REPO_WRITE
@@ -1830,9 +1830,9 @@ def delete_pull_request_comment(self, project_key, repository_slug, pull_request
1830
1830
Delete a comment.
1831
1831
Only the repository admin or user who created a comment may update it.
1832
1832
1833
- Note: the supplied supplied JSON object must contain a version
1833
+ Note: the supplied JSON object must contain a version
1834
1834
that must match the server's version of the comment
1835
- or the delete will fail.
1835
+ or delete will fail.
1836
1836
"""
1837
1837
url = self ._url_pull_request_comment (project_key , repository_slug , pull_request_id , comment_id )
1838
1838
data = {"version" : comment_version }
0 commit comments