Skip navigation

Permissions In The Application Stack

I’m trying to stack apps for a document management system. I’d like

  • Apache to handle authorization
  • Subversion to handle storage
  • LDAP to handle authentication

However, I’m running in to a problem — where do I put the file permissions? Subversion doesn’t really have a storage mechanism for permissions — there’s no way to check out a working copy, alter some permissions and then ship them back. I suppose I could stuff the permissions into an Posix ACL style file ‘property’, though this would lead to bloat…

There’s also really no way to get Apache to enforce these permissions. I suppose I could have a post commit hook that read in all changed properties and synced the Subversion style ACL with my Posix ACLs. Think, think, think…


Post a Comment

You must be logged in to post a comment.
%d bloggers like this: