From 233a4cb5fd7db54c6e312c105e70db949335d5a8 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 23 Mar 2009 15:09:54 -0400 Subject: 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. --- ipalib/errors.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'ipalib/errors.py') 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 -- cgit