mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 21:45:43 +01:00
Adapt to new permissions
This commit is contained in:
@@ -34,10 +34,10 @@
|
||||
<permissions>
|
||||
|
||||
<permission>
|
||||
<value>configuration:read:git</value>
|
||||
<value>configuration:read,write:git</value>
|
||||
</permission>
|
||||
<permission>
|
||||
<value>configuration:write:git</value>
|
||||
<value>repository:git:*</value>
|
||||
</permission>
|
||||
|
||||
</permissions>
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
<repository-permissions>
|
||||
<verbs>
|
||||
<verb>git</verb>
|
||||
</verbs>
|
||||
<roles>
|
||||
</roles>
|
||||
</repository-permissions>
|
||||
@@ -39,18 +39,28 @@
|
||||
},
|
||||
"permissions" : {
|
||||
"configuration": {
|
||||
"read": {
|
||||
"read,write": {
|
||||
"git": {
|
||||
"displayName": "Git Konfiguration lesen",
|
||||
"description": "Darf die git Konfiguration lesen."
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"git": {
|
||||
"displayName": "Git Konfiguration schreiben",
|
||||
"displayName": "Git Konfiguration ändern",
|
||||
"description": "Darf die git Konfiguration verändern."
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"git": {
|
||||
"*": {
|
||||
"displayName": "Repository-spezifische Git Konfiguration ändern",
|
||||
"description": "Darf die git Konfiguration für alle Repositories verändern."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"verbs": {
|
||||
"repository": {
|
||||
"git": {
|
||||
"displayName": "Git konfigurieren",
|
||||
"description": "Darf die git Konfiguration für dieses Repository verändern."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,18 +39,28 @@
|
||||
},
|
||||
"permissions" : {
|
||||
"configuration": {
|
||||
"read": {
|
||||
"read,write": {
|
||||
"git": {
|
||||
"displayName": "Read git configuration",
|
||||
"description": "May read the git configuration"
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"git": {
|
||||
"displayName": "Write git configuration",
|
||||
"displayName": "Modify git configuration",
|
||||
"description": "May change the git configuration"
|
||||
}
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"git": {
|
||||
"*": {
|
||||
"displayName": "Modify repository specific git configuration",
|
||||
"description": "May change the git configuration for repositories"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"verbs": {
|
||||
"repository": {
|
||||
"git": {
|
||||
"displayName": "Configure Git",
|
||||
"description": "May change the git configuration for this repository"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user