Closed instification closed 2 years ago
security
should be used as a decorator (@security.protected("Access Contents Information")
).There was no activity on this for a while. I close this request for now. If you plan to work further on this please reopen and go on.
We are using contentlisting with collective.listingviews which allows us to modify the results using ttw code. However, access to the brains is not allowed in RestrictedPython as there are no security assertions on the
CatalogContentListingObject
class.This PR adds those assertions.