schema.py
changeset 9817 bb719d857421
parent 9711 59616edc20d7
child 9892 928732ec00dd
child 9984 793377697c81
--- a/schema.py	Thu Jun 19 17:39:12 2014 +0200
+++ b/schema.py	Wed Jun 11 10:16:13 2014 +0200
@@ -563,7 +563,7 @@
 PermissionMixIn.set_action_permissions = set_action_permissions
 
 def has_local_role(self, action):
-    """return true if the action *may* be granted localy (eg either rql
+    """return true if the action *may* be granted locally (eg either rql
     expressions or the owners group are used in security definition)
 
     XXX this method is only there since we don't know well how to deal with
@@ -585,7 +585,7 @@
 PermissionMixIn.may_have_permission = may_have_permission
 
 def has_perm(self, _cw, action, **kwargs):
-    """return true if the action is granted globaly or localy"""
+    """return true if the action is granted globally or locally"""
     try:
         self.check_perm(_cw, action, **kwargs)
         return True