Commit 8b92b99d authored by Jim Fulton's avatar Jim Fulton

Added permission definitions for history methods.

parent 30e5394e
......@@ -84,7 +84,7 @@
##############################################################################
"""Object Histories"""
__version__='$Revision: 1.3 $'[11:-2]
__version__='$Revision: 1.4 $'[11:-2]
import Globals, ndiff, ExtensionClass
from DateTime import DateTime
......@@ -158,8 +158,11 @@ class Historical(ExtensionClass.Base):
HistoricalRevisions=Historian()
__ac_permissions__=(
('Undo changes',
('manage_change_history_page','manage_change_history')),
('View History',
('manage_change_history_page','manage_change_history',
'manage_historyCompare', 'manage_historicalComparison',
)
),
)
manage_options=({'label':'History', 'action':'manage_change_history_page',
......
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