Skip to content

Commit

Permalink
fix(rbac): update doc
Browse files Browse the repository at this point in the history
Signed-off-by: Oleksandr Andriienko <[email protected]>
  • Loading branch information
AndrienkoAleksandr committed Apr 9, 2024
1 parent 5742611 commit 7b85cf7
Showing 1 changed file with 38 additions and 31 deletions.
69 changes: 38 additions & 31 deletions plugins/rbac-backend/docs/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,37 +415,44 @@ Returns:
[
{
"pluginId": "catalog",
"policies": [
{
"permission": "catalog-entity",
"policy": "read"
},
{
"permission": "catalog.entity.create",
"policy": "create"
},
{
"permission": "catalog-entity",
"policy": "delete"
},
{
"permission": "catalog-entity",
"policy": "update"
},
{
"permission": "catalog.location.read",
"policy": "read"
},
{
"permission": "catalog.location.create",
"policy": "create"
},
{
"permission": "catalog.location.delete",
"policy": "delete"
}
]
},
"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"
},
{
"isResourced": false,
"permission": "catalog.location.create",
"policy": "create"
},
{
"isResourced": false,
"permission": "catalog.location.delete",
"policy": "delete"
}
]
},
...
]
```
Expand Down

0 comments on commit 7b85cf7

Please sign in to comment.