UserPropertySheet has no security context
Bug #257717 reported by
Titus Anderson
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope PAS |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Since the UserPropertySheet class doesn't have a security context, it is impossible to call the methods on a property sheet from within a TALES expression, particularly within the Dynamic Groups Plugin. The fix is simple enough: create a ClassSecurityInfo object, declare all the methods as public, and initialize the class. A patch is attached.
Changed in zope-pas: | |
status: | Triaged → Won't Fix |
To post a comment you must log in.
Why do you want to access the sheet from a template? I see two issues here: you should not be doing complex logic in a template but in a browser view, and the PropertiedUser class should provide all the required interface already.