summaryrefslogtreecommitdiffstats
path: root/ipalib/errors.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-12-20 15:00:00 -0700
committerJason Gerard DeRose <jderose@redhat.com>2008-12-20 15:00:00 -0700
commit6fdf5d1e7bb2171646e17cac835be54a4104b5ac (patch)
tree85c084784809b3592d109a116792a0621130146f /ipalib/errors.py
parent9a69adeef001ddd0c55513271cf02eedc0a9aef8 (diff)
parentc025ed6404e147f19b71b398e920fd1b3a05452a (diff)
downloadfreeipa-6fdf5d1e7bb2171646e17cac835be54a4104b5ac.tar.gz
freeipa-6fdf5d1e7bb2171646e17cac835be54a4104b5ac.tar.xz
freeipa-6fdf5d1e7bb2171646e17cac835be54a4104b5ac.zip
Merge branch 'master' of git://git.engineering.redhat.com/users/rcritten/freeipa2
Diffstat (limited to 'ipalib/errors.py')
-rw-r--r--ipalib/errors.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipalib/errors.py b/ipalib/errors.py
index bc4074d2d..6dd6eb01f 100644
--- a/ipalib/errors.py
+++ b/ipalib/errors.py
@@ -423,6 +423,14 @@ class HostService(ConfigurationError):
"""You must enroll a host in order to create a host service"""
faultCode = 1026
+class InsufficientAccess(GenericError):
+ """You do not have permission to perform this task"""
+ faultCode = 1027
+
+class InvalidUserPrincipal(GenericError):
+ """Invalid user principal"""
+ faultCode = 1028
+
class FunctionDeprecated(GenericError):
"""Raised by a deprecated function"""
faultCode = 2000