Merge pull request #1915 from anoek/doc-updates

RBAC doc updates
This commit is contained in:
Akita Noek
2016-05-13 13:57:22 -04:00
2 changed files with 35 additions and 61 deletions

View File

@@ -53,7 +53,7 @@ class ResourceMixin(models.Model):
def get_permissions(self, accessor):
'''
Returns a dict (or None) of the roles a accessor has for a given resource.
Returns a string list of the roles a accessor has for a given resource.
An accessor can be either a User, Role, or an arbitrary resource that
contains one or more Roles associated with it.
'''