from nodeconductor.core.permissions import StaffPermissionLogic


PERMISSION_LOGICS = (
    ('logging.Alert', StaffPermissionLogic(any_permission=True)),
    ('logging.SystemNotification', StaffPermissionLogic(any_permission=True)),
)

from nodeconductor.core.permissions import StaffPermissionLogic


PERMISSION_LOGICS = (
    ('logging.Alert', StaffPermissionLogic(any_permission=True)),
    ('logging.WebHook', StaffPermissionLogic(any_permission=True)),
    ('logging.PushHook', StaffPermissionLogic(any_permission=True)),
    ('logging.EmailHook', StaffPermissionLogic(any_permission=True)),
    ('logging.SystemNotification', StaffPermissionLogic(any_permission=True)),
)

Allow staff user to manage hooks.
Allow staff user to manage hooks.
