2
0
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:
Jarrod Johnson 2019-05-10 13:15:19 -04:00
parent cd2361b80b
commit cc5a5c9972

View File

@ -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': {