Skip to content

Commit

Permalink
missing migrated security decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jun 26, 2019
1 parent c14c984 commit f8c839f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Products/CMFDynamicViewFTI/fti.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def om_has_key(context, key):
return True
return False


fti_meta_type = 'Factory-based Type Information with dynamic views'


Expand Down Expand Up @@ -206,8 +207,7 @@ def defaultView(self, context):
fallback = self.default_view_fallback
return self.getViewMethod(context, check_exists=fallback)

security.declarePublic('queryMethodID')

@security.public
def queryMethodID(self, alias, default=None, context=None):
# Query method ID by alias.

Expand Down Expand Up @@ -244,4 +244,5 @@ def queryMethodID(self, alias, default=None, context=None):

return methodTarget


InitializeClass(DynamicViewTypeInformation)

0 comments on commit f8c839f

Please sign in to comment.