Skip to content

Commit

Permalink
docs(rbac): fix condition rules api url (#1914)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzemanov authored Jul 23, 2024
1 parent 1f6b6c3 commit e6fa0ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/rbac-backend/docs/apis.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ Conditional permission policies are fairly complex. For more information on how

### GET conditional rules

GET <api/plugins/condition-rules>
GET <api/permission/plugins/condition-rules>

Provides conditional rule parameter schemas.

Expand Down
4 changes: 2 additions & 2 deletions plugins/rbac-backend/docs/conditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ The structure of the condition JSON object is as follows:
| resourceType | Resource type provided by the plugin (e.g., "catalog-entity") | String |
| conditions | Condition JSON with parameters or array parameters joined by criteria | JSON |

To get the available conditional rules that can be used to create conditional permission policies, use the GET API request `api/plugins/condition-rules` as seen below.
To get the available conditional rules that can be used to create conditional permission policies, use the GET API request `api/permission/plugins/condition-rules` as seen below.

GET <api/plugins/condition-rules>
GET <api/permission/plugins/condition-rules>

Provides condition parameters schemas.

Expand Down

0 comments on commit e6fa0ae

Please sign in to comment.