[Zope-CMF] ActionsTool limitations

Shane Hathaway shane@zope.com
Wed, 17 Jul 2002 10:25:42 -0400


alan runyan wrote:
> we need to have categories divorced from 'what context we are checking the
> permission against'.  so one possible ugly hack is to have a
> permission_context which would be one of 'folder,object,portal'.  this would
> need to be on each action.  this way we could say, 'my category uses object
> to determines its permission settings' or uses folder context to determine
> its permission settings.

That sounds like a pretty reasonable change, actually.  Note that you 
wouldn't quite be saying "my category uses object to determine its 
permission settings", you would be saying "this action affects the 
object, so check permissions in the context of the object."

Shane