[Cvsnt] ACL - problem configuring access only for a branch

JBrans jbrans at onet.pl
Fri Jun 9 10:27:41 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hello,

i'm using CVSNT 2.5.03 (Scorpio) Build 2260;

i wanted to know if it possible with ACL to allow the user access only to 
some branches ?

example:
Module A
DIRA\
    file1.txt 1.1 (HEAD)
    file2.txt 1.1 (HEAD)
        file2.txt 1.1.1.2 (BRANCH1)

i want to set access (read/write) for a USER1 only to BRANCH1 but when 
fileattr.xml looks like:

<?xml version="1.0" encoding="UTF-8"?>
<fileattr>
  <directory>
    <owner>USERX</owner>
    <acl user="USER1" branch="BRANCH1">
      <read />
      <write />
    </acl>
  </directory>
</fileattr>

and when USER1 trying to read BRANCH1 cvs shows error:
cvs server: User 'USER1' cannot read from /Server/CvsRepository/DIRA



with  fileattr.xml like this:

<?xml version="1.0" encoding="UTF-8"?>
<fileattr>
  <directory>
    <owner>USERX</owner>
    <acl user="USER1">
      <read />
      <write />
    </acl>
  </directory>
</fileattr>

everything is ok;

so: is it possible with ACL to allow the user access only for BRANCH1 ?

-- 
JBrans 





More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook