2020-03-31 17:28:30 +02:00
|
|
|
# Path Write Protect Plugin
|
2020-03-09 08:01:43 +01:00
|
|
|
|
|
|
|
|
### Installation
|
|
|
|
|
|
2020-03-31 17:28:30 +02:00
|
|
|
- Login in as administrator
|
|
|
|
|
- Open Plugins
|
|
|
|
|
- Install scm-pathwp-plugin
|
|
|
|
|
- Restart your applicationserver
|
2020-03-09 08:01:43 +01:00
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
|
|
After the restart you should see a \"Path write protect\" tab for each
|
|
|
|
|
repository. On this tab you are able to set path write protection for
|
|
|
|
|
users and groups. Here are some rules for the usage of the pathwp
|
|
|
|
|
plugin:
|
|
|
|
|
|
2020-03-31 17:28:30 +02:00
|
|
|
- Administrators and repository owner have always write access.
|
|
|
|
|
- Grant write permissions on the \"Permission\" tab for every user or
|
|
|
|
|
group who should write to any file or folder in the repository.
|
|
|
|
|
- If the pathwp plugin is enabled, nobody can write to the repository
|
|
|
|
|
expect administrators, repository owners and the specified rules.
|
|
|
|
|
- To protect a complete folder use a star at the end of the path (e.g.: trunk/\*)
|
2020-03-09 08:01:43 +01:00
|
|
|
|
2020-03-31 17:28:30 +02:00
|
|
|
### Examples
|
2020-03-09 08:01:43 +01:00
|
|
|
|
2020-03-31 17:28:30 +02:00
|
|
|
| Path | Name | Group Permission | Description |
|
|
|
|
|
| ------------- | ----------- | ---------------- | ---------------------- |
|
|
|
|
|
| * | scmadmin | false | user scmadmin has write access to the whole repository |
|
|
|
|
|
| trunk/\* | development | true | group development has write access to the trunk directory |
|
|
|
|
|
| trunk/joe.txt | joe | false | user joe has write access to the file trunk/joe.txt |
|