comparison roundup/actions.py @ 4130:4ce043e9d43a gsoc-2009

Merge from trunk.
author Stefan Seefeld <stefan@seefeld.name>
date Wed, 17 Jun 2009 02:02:07 +0000
parents bbab97f8ffb2
children 13b3155869e0
comparison
equal deleted inserted replaced
4123:10224418f88c 4130:4ce043e9d43a
62 classname, itemid = hyperdb.splitDesignator(designator) 62 classname, itemid = hyperdb.splitDesignator(designator)
63 63
64 if not self.db.security.hasPermission('Edit', self.db.getuid(), 64 if not self.db.security.hasPermission('Edit', self.db.getuid(),
65 classname=classname, itemid=itemid): 65 classname=classname, itemid=itemid):
66 raise Unauthorised(self._('You do not have permission to ' 66 raise Unauthorised(self._('You do not have permission to '
67 '%(action)s the %(classname)s class.')%info) 67 'retire the %(classname)s class.')%classname)
68 68

Roundup Issue Tracker: http://roundup-tracker.org/