Disable "Save repository" button on new repositories
a lot of our users were confused when the “Save repository” button is enabled on creating a new repository getting error message or a non function repository entry.
So I made a small patch which disables the “Save repository” button
- when it is a new repository entry
It made the form much cleaner to them and lowered the questions for help a lot
#2 Updated by Andriy Lesyuk over 6 years ago
The “Create” button (you mean by “Save repository”, I guess) is for adding existing repositories, e.g., Subversion remote repos. The
allow_add_local option lets disable creation of local repositories only! So, still it should be possible to add existing remote repos. For this reason normally it’s not good to disable the “Create” button...
In your case, I assume, you have a specific environment. I guess, the
only_creator option could do, what you want (see Configuration)... Did you try it? Does not it meet for your needs (why?)?