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.
This commit is contained in:
Rob Crittenden
2009-03-23 15:09:54 -04:00
parent 65e6259075
commit 233a4cb5fd
3 changed files with 6 additions and 5 deletions

View File

@@ -475,6 +475,7 @@ class ACIError(AuthorizationError):
"""
errno = 2100
format = _('Insufficient access: %(info)r')