47 lines
1.0 KiB
Python
47 lines
1.0 KiB
Python
from ..utils.access_permissions import BaseAccessPermissions
|
|
|
|
|
|
class ProjectorAccessPermissions(BaseAccessPermissions):
|
|
"""
|
|
Access permissions container for Projector and ProjectorViewSet.
|
|
"""
|
|
|
|
base_permission = "core.can_see_projector"
|
|
|
|
|
|
class ProjectionDefaultAccessPermissions(BaseAccessPermissions):
|
|
"""
|
|
Access permissions container for Projector and ProjectorViewSet.
|
|
"""
|
|
|
|
base_permission = "core.can_see_projector"
|
|
|
|
|
|
class TagAccessPermissions(BaseAccessPermissions):
|
|
"""
|
|
Access permissions container for Tag and TagViewSet.
|
|
"""
|
|
|
|
|
|
class ProjectorMessageAccessPermissions(BaseAccessPermissions):
|
|
"""
|
|
Access permissions for ProjectorMessage.
|
|
"""
|
|
|
|
base_permission = "core.can_see_projector"
|
|
|
|
|
|
class CountdownAccessPermissions(BaseAccessPermissions):
|
|
"""
|
|
Access permissions for Countdown.
|
|
"""
|
|
|
|
base_permission = "core.can_see_projector"
|
|
|
|
|
|
class ConfigAccessPermissions(BaseAccessPermissions):
|
|
"""
|
|
Access permissions container for the config (ConfigStore and
|
|
ConfigViewSet).
|
|
"""
|