Update atst to atat
This commit is contained in:
6
atat/models/mixins/permissions.py
Normal file
6
atat/models/mixins/permissions.py
Normal file
@@ -0,0 +1,6 @@
|
||||
class PermissionsMixin(object):
|
||||
@property
|
||||
def permissions(self):
|
||||
return [
|
||||
perm for permset in self.permission_sets for perm in permset.permissions
|
||||
]
|
Reference in New Issue
Block a user