Fixed permission issues for *SATS*
This commit is contained in:
parent
97c7b8474b
commit
352dfdc995
|
@ -592,7 +592,8 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}else
|
||||||
|
$etrees = ['error' => $mc_res->error->get() ];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -275,7 +275,7 @@
|
||||||
|
|
||||||
"POST::getClusters": {
|
"POST::getClusters": {
|
||||||
"description": "Retourne les groupes d'une machine.",
|
"description": "Retourne les groupes d'une machine.",
|
||||||
"permissions": [["admin"]],
|
"permissions": [["admin"], ["sats"]],
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"id_machine": { "description": "UID de la machine.", "type": "id" }
|
"id_machine": { "description": "UID de la machine.", "type": "id" }
|
||||||
},
|
},
|
||||||
|
@ -462,7 +462,7 @@
|
||||||
|
|
||||||
"POST::getModules": {
|
"POST::getModules": {
|
||||||
"description": "Retourne les modules d'un groupe de machines",
|
"description": "Retourne les modules d'un groupe de machines",
|
||||||
"permissions": [["admin"]],
|
"permissions": [["admin"], ["sats"]],
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"id_machine_cluster": { "description": "UID du groupe de machines", "type": "id" }
|
"id_machine_cluster": { "description": "UID du groupe de machines", "type": "id" }
|
||||||
},
|
},
|
||||||
|
@ -473,7 +473,7 @@
|
||||||
|
|
||||||
"POST::getEtrees": {
|
"POST::getEtrees": {
|
||||||
"description": "Retourne les e-trees d'un groupe de machines",
|
"description": "Retourne les e-trees d'un groupe de machines",
|
||||||
"permissions": [["admin"]],
|
"permissions": [["admin"], ["sats"]],
|
||||||
"parameters": {
|
"parameters": {
|
||||||
"id_machine_cluster": { "description": "UID du groupe de machines", "type": "id" }
|
"id_machine_cluster": { "description": "UID du groupe de machines", "type": "id" }
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue