Skip to content

Commit 5b564eb

Browse files
author
Matt Sokoloff
committed
docstring
1 parent 83ee2b2 commit 5b564eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

labelbox/schema/user.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ def update_org_role(self, role: Role):
4444
""" Updated the `User`s organization role.
4545
4646
See client.get_roles() to get all valid roles
47+
If you a user is converted from project level permissions to org level permissions and then convert back, their permissions will remain for each individual project
4748
4849
Args:
4950
role (Role): The role that you want to set for this user.
5051
5152
"""
52-
53-
# IF you convert a user from project level permissions to org permissions and then convert back, their permissions will remain for each individual project
53+
5454
self.client.execute(
5555
"""mutation SetOrganizationRolePyApi($userId: ID!, $roleId: ID!) { setOrganizationRole(data: {userId: $userId, roleId: $roleId}) { id name }}""",
5656
{

0 commit comments

Comments
 (0)