Files
mayan-edms/mayan/apps/permissions/exceptions.py
Roberto Rosario 0e800dc314 Use keyword arguments in the permissions app
Additionall rename the views GroupRoleMembersView,
SetupRoleMembersView, SetupRolePermissionsView to
GroupRolesView, RoleGroupsView, RolePermissionsView.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
2019-01-13 23:23:18 -04:00

13 lines
319 B
Python

from __future__ import unicode_literals
class PermissionError(Exception):
"""Base permission exception"""
class InvalidNamespace(PermissionError):
"""
Invalid namespace name. This is probably an obsolete permission namespace,
execute the management command "purgepermissions" and try again.
"""