Skip to content

Commit

Permalink
Port whitelist creation from zope.browserpage
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewWilkes committed May 27, 2019
1 parent 57da264 commit ab64f98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Products/Five/browser/metaconfigure.py
Expand Up @@ -171,6 +171,7 @@ def page(_context, name, permission, for_=Interface,
required)

_handle_for(_context, for_)
new_class._simple_whitelist = set(required) - set([attribute, 'browserDefault', '__call__', 'publishTraverse'])

_configure_z2security(_context, new_class, required)

Expand Down

0 comments on commit ab64f98

Please sign in to comment.