summaryrefslogtreecommitdiff
path: root/keystoneclient/v2_0/roles.py
diff options
context:
space:
mode:
Diffstat (limited to 'keystoneclient/v2_0/roles.py')
-rw-r--r--keystoneclient/v2_0/roles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/keystoneclient/v2_0/roles.py b/keystoneclient/v2_0/roles.py
index d0d3a79..d0d43a8 100644
--- a/keystoneclient/v2_0/roles.py
+++ b/keystoneclient/v2_0/roles.py
@@ -56,7 +56,7 @@ class RoleManager(base.ManagerWithFind):
return self._list("/users/%s/roles" % user_id, "roles")
def add_user_role(self, user, role, tenant=None):
- """Adds a role to a user.
+ """Add a role to a user.
If tenant is specified, the role is added just for that tenant,
otherwise the role is added globally.
@@ -72,7 +72,7 @@ class RoleManager(base.ManagerWithFind):
return self._update(route % (user_id, role_id), None, "roles")
def remove_user_role(self, user, role, tenant=None):
- """Removes a role from a user.
+ """Remove a role from a user.
If tenant is specified, the role is removed just for that tenant,
otherwise the role is removed from the user's global roles.