EDUCATOR-4920 Control permission to REST endpoint
EDUCATOR-4920 Control permission to REST endpoint CR1 EDUCATOR-4920 Control permission to REST endpoint CR1
This commit is contained in:
@@ -308,6 +308,13 @@ class TeamsetConfig(object):
|
||||
except (KeyError, ValueError):
|
||||
return TeamsetType.get_default()
|
||||
|
||||
@cached_property
|
||||
def is_private_managed(self):
|
||||
"""
|
||||
Returns true if teamsettype is private_managed
|
||||
"""
|
||||
return self.teamset_type == TeamsetType.private_managed
|
||||
|
||||
|
||||
class TeamsetType(Enum):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user