Content
View differences
Updated by Oliver Günther almost 11 years ago
**As an** OpenProject administrator
**I want** to be able to disable certain SCM types (e.g., linking \`:existing\` subversion repositories)
***So that** I can restrict my project administrators from linking external repositories.
### Acceptance criteria
- In the \`configuration.yml\`, not only \`:managed\` repositories can be toggled for each supported vendor, but also any other SCM type.
### Exemplary configuration
```
scm:
Git:
disabled_types: types:
- :local
- :managed
manages: /tmp/git
Subversion:
disabled_types: types:
- :existing
manages: /tmp/svn
```
Should result in the following types available:
- Git: none (`:managed` disabled takes precedence over path set in `:manages`). Is hidden from selection for new repository creation
- Subversion: :managed
**I want** to be able to disable certain SCM types (e.g., linking \`:existing\` subversion repositories)
***So that** I can restrict my project administrators from linking external repositories.
### Acceptance criteria
- In the \`configuration.yml\`, not only \`:managed\` repositories can be toggled for each supported vendor, but also any other SCM type.
### Exemplary configuration
```
scm:
Git:
disabled_types:
- :local
- :managed
manages: /tmp/git
Subversion:
disabled_types:
- :existing
manages: /tmp/svn
```
Should result in the following types available:
- Git: none (`:managed` disabled takes precedence over path set in `:manages`). Is hidden from selection for new repository creation
- Subversion: :managed