I'm implementing my own permissions mechanism based on a custom
implementation of the Security interface and using the acl_semantics
parameter to specify my own implementation.  The one last piece I would like
to add is determining access to /history URLs based on access to the
original URLs. 

For example: 

/files/foo is versioned. 
/history/3 is the location of the history of /files/foo. 

I only want to provide access to /history/3/ URLs if the user has access to
/files/foo. 

Given /history/3/, can I determine that it corresponds to the history for
/files/foo? 

Sorry if this is really easy and I just overlooked it. 

If it helps, I have access to the ObjectNode. I'm implementing
Security.hasPermission(ObjectNode, SubjectNode, ActionNode). 

Thanks, Andy 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to