Skip to content

Commit 6a0fcb2

Browse files
author
Richard Jones
committed
how odd, the Retire permission wasn't being registered;
no-one seemed to notice though...
1 parent ad46c1d commit 6a0fcb2

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Fixed:
3737
between encoded parts, we always removed the space. Note that this bug
3838
was present before mail gateway refactoring :-) Thanks for thorough
3939
testing of mail gateway code by Rafal Bisingier. (Ralf)
40+
- The "Retire" permission was not being registered. (Richard)
41+
4042

4143
2011-05-29 1.4.18 (r4610)
4244

roundup/backends/back_anydbm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ def addclass(self, cl):
236236
description="User is allowed to edit "+cn)
237237
self.security.addPermission(name="View", klass=cn,
238238
description="User is allowed to access "+cn)
239+
self.security.addPermission(name="Reture", klass=cn,
240+
description="User is allowed to retire "+cn)
239241

240242
def getclasses(self):
241243
"""Return a list of the names of all existing classes."""

roundup/backends/rdbms_common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,8 @@ def addclass(self, cl):
812812
description="User is allowed to edit "+cn)
813813
self.security.addPermission(name="View", klass=cn,
814814
description="User is allowed to access "+cn)
815+
self.security.addPermission(name="Retire", klass=cn,
816+
description="User is allowed to retire "+cn)
815817

816818
def getclasses(self):
817819
""" Return a list of the names of all existing classes.

0 commit comments

Comments
 (0)