info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to implement user level security in cvs ?


From: Noel Yap
Subject: Re: how to implement user level security in cvs ?
Date: Tue, 18 Jun 2002 05:23:37 -0700 (PDT)

--- Muhammad Shakeel
<address@hidden> wrote:
> Dear Noel,
> 
> At the moment i am interested only to  refresh the
> ACL when we tag a 
> file. Because the loginfo script u sent me does not
> refresh the ACL when 
> i insert a tag on  a file or files. CVS actually
> removes the ACL 
> information from that tagged file or files because
> it recreates the file 
> in case of tag as well, like the case when some one
> check in a file. So 
> it was a requirement to run a script through 
> taginfo administrative file.
> 
> Can u please help in this regard.

I guess I've never tagged anything while I was using
ACLs so this is news to me.

Hopefully, you'll be able to do the same things inside
the taginfo script as you're doing inside the loginfo
script.  This should work if the taginfo script is
executed after the file has been created.  Now that I
think about it, I believe the taginfo script is
executed before the file is created (so that you can
check tag naming conventions).  If this is true, your
options are:
1. Hack CVS to add a post-tag trigger.  IMHO, CVS's
triggers can stand a good redesign so that most (if
not all) commands can have pre- and post-triggers.
2. Create a cvs wrapper that'll do what you need. 
This shouldn't be too difficult.  I think all you'd
need to do is wrap the cvs server, parse out the
affected files, and make ACL changes for each of those
files.

Sorry I can't supply a ready-made script.

Noel


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]