Fix typos
This commit is contained in:
parent
0a24b7267b
commit
06b5ad5f2e
@ -22,7 +22,7 @@ class AnonymousAuth(object):
|
|||||||
|
|
||||||
def get_group_permissions(self, user_obj, obj=None):
|
def get_group_permissions(self, user_obj, obj=None):
|
||||||
"""
|
"""
|
||||||
Return the permissions a user is graneted by his group membership(s).
|
Return the permissions a user is granted by his group membership(s).
|
||||||
|
|
||||||
- try to return the permissions for the 'Anonymous' group (pk=1).
|
- try to return the permissions for the 'Anonymous' group (pk=1).
|
||||||
"""
|
"""
|
||||||
@ -39,7 +39,7 @@ class AnonymousAuth(object):
|
|||||||
|
|
||||||
def get_all_permissions(self, user_obj, obj=None):
|
def get_all_permissions(self, user_obj, obj=None):
|
||||||
"""
|
"""
|
||||||
Return all permissions a user is granted including goup permissions.
|
Return all permissions a user is granted including group permissions.
|
||||||
|
|
||||||
- for anonymous it's identical to get_group_permissions
|
- for anonymous it's identical to get_group_permissions
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user