Fixed permission issues for *SATS*

This commit is contained in:
xdrm-brackets 2017-09-25 23:35:32 +02:00
parent 97c7b8474b
commit 352dfdc995
2 changed files with 5 additions and 4 deletions

View File

@ -592,7 +592,8 @@
}
}
}else
$etrees = ['error' => $mc_res->error->get() ];

View File

@ -275,7 +275,7 @@
"POST::getClusters": {
"description": "Retourne les groupes d'une machine.",
"permissions": [["admin"]],
"permissions": [["admin"], ["sats"]],
"parameters": {
"id_machine": { "description": "UID de la machine.", "type": "id" }
},
@ -462,7 +462,7 @@
"POST::getModules": {
"description": "Retourne les modules d'un groupe de machines",
"permissions": [["admin"]],
"permissions": [["admin"], ["sats"]],
"parameters": {
"id_machine_cluster": { "description": "UID du groupe de machines", "type": "id" }
},
@ -473,7 +473,7 @@
"POST::getEtrees": {
"description": "Retourne les e-trees d'un groupe de machines",
"permissions": [["admin"]],
"permissions": [["admin"], ["sats"]],
"parameters": {
"id_machine_cluster": { "description": "UID du groupe de machines", "type": "id" }
},