Commit 9669af24 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

PropertySheetTool: add View History permission in getPropertyAvailablePermissionList.

parent 6b04cb82
......@@ -200,5 +200,5 @@ class PropertySheetTool(BaseTool):
Return a sorted set of all the permissions useful for read/write
permissions for properties of ZODB Property Sheets
"""
return sorted({value for key, value in six.iteritems(Permissions.__dict__)
if key[0].isupper()})
return sorted([value for key, value in six.iteritems(Permissions.__dict__)
if key[0].isupper()] + ['View History'])
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment