diff --git a/tests/clapi_export/clapi-configuration.txt b/tests/clapi_export/clapi-configuration.txt index f9037556f3f..6ce4e4d1566 100644 --- a/tests/clapi_export/clapi-configuration.txt +++ b/tests/clapi_export/clapi-configuration.txt @@ -59,7 +59,6 @@ ACLMENU;GRANTRW;test_access-group;0;Administration;Parameters;LDAP; ACLMENU;GRANTRW;test_access-group;0;Administration;Parameters;RRDTool; ACLMENU;GRANTRW;test_access-group;0;Administration;Parameters;Debug; ACLMENU;GRANTRW;test_access-group;0;Administration;Parameters;Knowledge Base; -ACLMENU;GRANTRW;test_access-group;0;Administration;Parameters;CSS; ACLMENU;GRANTRW;test_access-group;0;Administration;Parameters;Backup; ACLMENU;GRANTRW;test_access-group;0;Administration;Parameters;Options; ACLMENU;GRANTRW;test_access-group;0;Administration;Parameters;Data; @@ -75,7 +74,6 @@ ACLMENU;GRANTRW;test_access-group;0;Administration;ACL;Actions Access; ACLMENU;GRANTRW;test_access-group;0;Administration;ACL; ACLMENU;GRANTRW;test_access-group;0;Administration;ACL;Reload ACL; ACLMENU;GRANTRW;test_access-group;0;Administration;Logs; -ACLMENU;GRANTRW;test_access-group;0;Administration;Logs;Visualisation; ACLMENU;GRANTRW;test_access-group;0;Administration;Sessions; ACLMENU;GRANTRW;test_access-group;0;Administration;About; ACLMENU;GRANTRW;test_access-group;0;Administration;Platform Status;Broker Statistics; diff --git a/tests/rest_api/rest_api.postman_collection.json b/tests/rest_api/rest_api.postman_collection.json index 403bff03324..e912f55f8c6 100644 --- a/tests/rest_api/rest_api.postman_collection.json +++ b/tests/rest_api/rest_api.postman_collection.json @@ -48068,7 +48068,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances;metrics\"\n}" + "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;monitoring;performances;virtual metrics\"\n}" }, "url": { "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", @@ -48122,7 +48122,7 @@ ], "body": { "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances;metrics\"\n}" + "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;monitoring;performances;virtual metrics\"\n}" }, "url": { "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", @@ -57491,114 +57491,6 @@ }, "response": [] }, - { - "name": "Grantrw CSS", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;parameters;CSS\"\n}" - }, - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ] - } - }, - "response": [] - }, - { - "name": "Revoke CSS", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;parameters;CSS\"\n}" - }, - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ] - } - }, - "response": [] - }, { "name": "Grantrw backup", "event": [ @@ -59111,114 +59003,6 @@ }, "response": [] }, - { - "name": "Grantrw visualisation", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"grantrw\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};0;administration;logs;visualisation\"\n}" - }, - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ] - } - }, - "response": [] - }, - { - "name": "Revoke visualisation", - "event": [ - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "tests[\"Status code is 200\"] = responseCode.code === 200;" - ] - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Content-Type", - "value": "application/json" - }, - { - "key": "centreon-auth-token", - "value": "{{token}}" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"action\": \"revoke\",\n \"object\": \"aclmenu\",\n \"values\": \"{{aclmenu_name}};1;administration;logs;visualisation\"\n}" - }, - "url": { - "raw": "http://{{url}}/centreon/api/index.php?action=action&object=centreon_clapi", - "protocol": "http", - "host": [ - "{{url}}" - ], - "path": [ - "centreon", - "api", - "index.php" - ], - "query": [ - { - "key": "action", - "value": "action" - }, - { - "key": "object", - "value": "centreon_clapi" - } - ] - } - }, - "response": [] - }, { "name": "Grantrw sessions", "event": [