mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Fix operator add and delete of nodes
This permits operators to run nodedefine and noderemove.
This commit is contained in:
parent
cd2361b80b
commit
cc5a5c9972
@ -45,6 +45,8 @@ _allowedbyrole = {
|
||||
'Operator': {
|
||||
'retrieve': ['*'],
|
||||
'create': [
|
||||
'/noderange/',
|
||||
'/nodes/',
|
||||
'/node*/media/uploads/',
|
||||
'/node*/inventory/firmware/updates/*',
|
||||
'/node*/suppport/servicedata*',
|
||||
@ -69,7 +71,7 @@ _allowedbyrole = {
|
||||
],
|
||||
'delete': [
|
||||
'/discovery/*',
|
||||
'/node*/*/events/hardware/log',
|
||||
'/node*',
|
||||
],
|
||||
},
|
||||
'Monitor': {
|
||||
|
Loading…
Reference in New Issue
Block a user