-
Notifications
You must be signed in to change notification settings - Fork 189
Closed
Description
In #604 @paddyroddy commented that they are not able to block adding users to admin role as repository collaborators using the Config Validator in the deployment-settings.yml. This needs to be checked.
To block users getting admin role as collaborators, the following would be set
configvalidators:
- plugin: collaborators
error: |
`Admin cannot be assigned to collaborators`
script: |
console.log(`baseConfig ${JSON.stringify(baseconfig)}`)
return baseconfig.permission != 'admin'
Check if this is still working
paddyroddy
Metadata
Metadata
Assignees
Labels
No labels