Additionall rename the views GroupRoleMembersView, SetupRoleMembersView, SetupRolePermissionsView to GroupRolesView, RoleGroupsView, RolePermissionsView. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
13 lines
319 B
Python
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.
|
|
"""
|