Code

how odd, the Retire permission wasn't being registered; no-one seemed to notice though...
[roundup.git] / roundup / backends / rdbms_common.py
index 3a4d6f5c276ee9c7fe5a226a5bdd7bc5f9edbf38..ebbb648a08d94db82f0f966d2cd30b9fd9b3dd47 100644 (file)
@@ -812,6 +812,8 @@ class Database(FileStorage, hyperdb.Database, roundupdb.Database):
             description="User is allowed to edit "+cn)
         self.security.addPermission(name="View", klass=cn,
             description="User is allowed to access "+cn)
+        self.security.addPermission(name="Retire", klass=cn,
+            description="User is allowed to retire "+cn)
 
     def getclasses(self):
         """ Return a list of the names of all existing classes.