refactor(core): Add fn get_organization to centurion mixin
Fn is required for perms to work correctly ref: #870
This commit is contained in:
@ -196,6 +196,12 @@ class Centurion(
|
||||
|
||||
|
||||
|
||||
def get_organization(self):
|
||||
"""Return the objects organization"""
|
||||
return self.organization
|
||||
|
||||
|
||||
|
||||
def get_url(
|
||||
self, relative: bool = False, api_version: int = 2, many = False, request: any = None
|
||||
) -> str:
|
||||
|
Reference in New Issue
Block a user