What I have (and the inverse):
    receive a possible unix username
    put unix username into database if valid
    return username.is_valid && db.is_successful ? 1 : 0
What I need (and the inverse):
    receive a possible unix username
    put unix username into database if username.is_valid
    for ( list of directories shared to user's boss ) :
         set acl on directory for username 
    return username.is_valid && db.is_successful ? 1 : 0
But, I want to trigger the acl setting after the return, because the database call is fast enough for a user to wait, but the recursive crawl over a file system, setting an acl on every single file or dir, is too much of a thing to expect users to wait for.
Suggestions?
No comments:
Post a Comment