From 210ce6f0984c78887bfccd10cb3555eb1d829bdc Mon Sep 17 00:00:00 2001 From: Oleksandr Andriienko Date: Tue, 9 Apr 2024 11:58:40 +0300 Subject: [PATCH] fix(rbac): update doc Signed-off-by: Oleksandr Andriienko --- plugins/rbac-backend/docs/apis.md | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/plugins/rbac-backend/docs/apis.md b/plugins/rbac-backend/docs/apis.md index a2491308925..33fc3b922c2 100644 --- a/plugins/rbac-backend/docs/apis.md +++ b/plugins/rbac-backend/docs/apis.md @@ -415,37 +415,45 @@ Returns: [ { "pluginId": "catalog", - "policies": [ + "policies": [ { + "isResourced": true, "permission": "catalog-entity", "policy": "read" }, { + "isResourced": false, "permission": "catalog.entity.create", "policy": "create" }, { + "isResourced": true, "permission": "catalog-entity", "policy": "delete" }, { + "isResourced": true, "permission": "catalog-entity", "policy": "update" }, { + "isResourced": false, "permission": "catalog.location.read", "policy": "read" }, { - "permission": "catalog.location.create", - "policy": "create" + "isResourced": false, + "permission": "catalog.location.create", + "policy": "create" }, { - "permission": "catalog.location.delete", - "policy": "delete" + "isResourced": false, + "permission": "catalog.location.delete", + "policy": "delete" } ] - }, + }, + ... ] ```