I'm still working on this and would appreciate any advice.  I seem to
remember reading something about allowing /history files to inherit ACLs
from their current file paths, but I haven't been able to find a reference
to that.

Thanks, Andy


-----Original Message-----
From: Andy Miller [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 15, 2004 3:53 PM
To: 'Slide Users Mailing List'
Subject: Determining original from history ( /history to /files )

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]


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

Reply via email to