Actions:
|
2007-10-03 20:42 AEST by Arthur Barrett - Update documentation on premodule administrative file.
It is possible there is a documentation error in the "premodule"
documentation. It states:
http://www.cvsnt.org/manual/html/commit-files.html
"The specified program is called prior to entering a module. It is passed the
repository, command and module name. Returning an error from this script will
terminate command execution."
This is probably incorrect.
Also the documentaion should add:
http://www.cvsnt.org/manual/html/premodule.html
The "premodule" file should not be used to allow/deny users (use the ACL
subsystem instead).
eg: you want to only allow user FRED do "export" module "HELLO" (he should not
be able to "checkout" or "update" it. So you write a precommand/premodule
script. However if the user creates a "dummy" CVS/Entries file then
performs "cvs update" then they have effectively done a "checkout" without
passing through the "export only" check system. |