From: richard Date: Fri, 15 Jul 2011 04:32:50 +0000 (+0000) Subject: how odd, the Retire permission wasn't being registered; no-one seemed to notice though... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a4a4e65683c7ec53c426bf6cb50c50c133e0931c;p=roundup.git how odd, the Retire permission wasn't being registered; no-one seemed to notice though... git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4629 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/CHANGES.txt b/CHANGES.txt index 7ec268e..e6a6d48 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -37,6 +37,8 @@ Fixed: between encoded parts, we always removed the space. Note that this bug was present before mail gateway refactoring :-) Thanks for thorough testing of mail gateway code by Rafal Bisingier. (Ralf) +- The "Retire" permission was not being registered. (Richard) + 2011-05-29 1.4.18 (r4610) diff --git a/roundup/backends/back_anydbm.py b/roundup/backends/back_anydbm.py index 34ddf93..f9dffd7 100644 --- a/roundup/backends/back_anydbm.py +++ b/roundup/backends/back_anydbm.py @@ -236,6 +236,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="Reture", klass=cn, + description="User is allowed to retire "+cn) def getclasses(self): """Return a list of the names of all existing classes.""" diff --git a/roundup/backends/rdbms_common.py b/roundup/backends/rdbms_common.py index 3a4d6f5..ebbb648 100644 --- a/roundup/backends/rdbms_common.py +++ b/roundup/backends/rdbms_common.py @@ -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.