summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-03-23 15:09:54 -0400
committerRob Crittenden <rcritten@redhat.com>2009-03-25 11:02:44 -0400
commit233a4cb5fd7db54c6e312c105e70db949335d5a8 (patch)
treea7e4a10d89d4b3ef7fb65054b02153934d2af748 /ipalib/errors.py
parent65e6259075e148d2bb88d3644837d62472f4c8d7 (diff)
downloadfreeipa-233a4cb5fd7db54c6e312c105e70db949335d5a8.tar.gz
freeipa-233a4cb5fd7db54c6e312c105e70db949335d5a8.tar.xz
freeipa-233a4cb5fd7db54c6e312c105e70db949335d5a8.zip
Raise a more specific error when a user lacks the proper permissions.
The info part of the message will contain details on what permission failed on what attribute.
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index 722de765..c27d85de 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -396,10 +396,6 @@ class DefaultGroup(ConfigurationError):
"""You cannot remove the default users group"""
faultCode = 1025
-class InsufficientAccess(GenericError):
- """You do not have permission to perform this task"""
- faultCode = 1027
-
class InvalidUserPrincipal(GenericError):
"""Invalid user principal"""
faultCode = 1028