SVN auth script: enable commit access to /tags folder
This commit is contained in:
@@ -57,6 +57,14 @@ function handleSingleUserPHID(
|
||||
$access[$repository_pathname]['RO'] = array();
|
||||
}
|
||||
$access[$repository_pathname]['RW'][] = $user_name;
|
||||
|
||||
// Write access to the tags
|
||||
$tags_pathname = "$repository_name:/tags";
|
||||
if (!array_key_exists($tags_pathname, $access)) {
|
||||
$access[$tags_pathname]['RW'] = array();
|
||||
$access[$tags_pathname]['RO'] = array();
|
||||
}
|
||||
$access[$tags_pathname]['RW'][] = $user_name;
|
||||
}
|
||||
|
||||
// Parse repository and put it's members to the config file
|
||||
|
||||
Reference in New Issue
Block a user