我在一个仓库中创建了两个仓库。两个仓库中都有不同的项目。所有事情都运行正常。但是,我无法限制用户浏览其中一个项目。
/etc/apache2/svn_ACL 文件的内容是
[群组] admin = 管理员、samir、adoor 开发 = kamlesh、dhiraj、ravindra、vijay、ajit、amit、deepak、abhi、gautam、sudhir 测试 = avinash、meenu readwritegrp = usera、userb readgrp = userc
[/] @admin = rw @development = rw @testing = r
@读写组 = rw @读取组 = r
[/new_project/trunk]@readwritegrp = rw@readgrp =
@admin = rw @development =
[old_project/trunk]@readwritegrp = rw@readgrp = rw
@admin = rw @development = rw @testing = r
[/new_project/konfer-nms]@测试=@开发=meenu=
答案1
这
[/]
@admin = rw
@development = rw
@testing = r
您的问题是,您允许用户在根级别进行读取访问,从而可以读取所有内容,以克服这个问题
[/]
@admin = rw
@development = rw
@testing =
然后
[/project_to_allow_access_to]
@testing = r