How to configure default repository access permissions for all or many repositories
Purpose
If all repositories need to switch to the global default permissions, it can take a very long time to manually change that through the UI. An alternative would be to edit the $FISHEYE_INST/config.xml
file.
Solution
Manually modifying security use-defaults="false"
to true in the $FISHEYE_INST/config.xml
will have the same effect. You will have to change this line for every repository entry you would like to use the global defaults.
<security use-defaults="true" allow-anon="false" allow-logged-in="false"/>
- Stop Fisheye
- Backup the
config.xml
- Change
security use-defaults="false"
to true for each repository entry. - Start Fisheye and verify that all the repositories have the settings you are looking for.
Note, if this property does not exist the repository will be set to false.