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/errors2.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/errors2.py') diff --git a/ipalib/errors2.py b/ipalib/errors2.py index 260a51e8..33db5ccf 100644 --- a/ipalib/errors2.py +++ b/ipalib/errors2.py @@ -475,6 +475,7 @@ class ACIError(AuthorizationError): """ errno = 2100 + format = _('Insufficient access: %(info)r') -- cgit