generated from redhat-developer/new-project-template
-
Notifications
You must be signed in to change notification settings - Fork 57
RHIDP-4896 Determining the permission policy configuration source #705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
d4cb3bc
RHIDP-4896 Determining the permission policy and role configuration s…
themr0c e9855af
Update assemblies/assembly-configuring-authorization-in-rhdh.adoc
themr0c 47c83b9
Update modules/authorization/proc-determining-permission-policy-and-r…
themr0c d9654e2
changed for a more human friendly id
themr0c a893e3f
Merge branch 'main' into RHIDP-4896
themr0c 36432f5
Update assemblies/assembly-configuring-authorization-in-rhdh.adoc
themr0c 2bf6de3
Update modules/authorization/proc-determining-permission-policy-and-r…
themr0c 3b452a3
Update modules/authorization/proc-determining-permission-policy-and-r…
themr0c 086a652
Update modules/authorization/proc-determining-permission-policy-and-r…
themr0c 2f63639
Merge branch 'main' into RHIDP-4896
themr0c 94a4854
Merge branch 'main' into RHIDP-4896
themr0c 129e055
Merge branch 'main' into RHIDP-4896
themr0c 631ea6a
Update modules/authorization/proc-determining-permission-policy-and-r…
themr0c 6d382d4
Merge branch 'main' into RHIDP-4896
themr0c File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
...orization/proc-determining-permission-policy-and-role-configuration-source.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| [id='proc-determining-policy-and-role-source'] | ||
| = Determining permission policy and role configuration source | ||
|
|
||
| You can configure {product} policy and roles by using different sources. | ||
| To maintain data consistency, {product-short} associates each permission policy and role with one unique source. | ||
| You can only use this source to change the resource. | ||
|
|
||
| The available sources are: | ||
|
|
||
| Configuration file:: | ||
themr0c marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Configure roles and policies in the {product-short} `app-config.yaml` configuration file, for instance to xref:enabling-and-giving-access-to-rbac[declare your policy administrators]. | ||
| + | ||
| The Configuration file pertains to the default `role:default/rbac_admin` role provided by the RBAC plugin. | ||
| The default role has limited permissions to create, read, update, and delete permission policies or roles, and to read catalog entities. | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| + | ||
| [NOTE] | ||
| ==== | ||
| In case the default permissions are insufficient for your administrative requirements, you can create a custom admin role with required permission policies. | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ==== | ||
|
|
||
| REST API:: | ||
| Configure roles and policies xref:managing-authorizations-by-using-the-seb-ui[by using the {product-short} Web UI] or xref:managing-authorizations-by-using-the-rest-api[by using the REST API]. | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| CSV file:: | ||
| Configure roles and policies by using external CSV files. | ||
|
|
||
| Legacy:: | ||
| The legacy source applies to policies and roles defined before RBAC backend plugin version `2.1.3`, and is the least restrictive among the source location options. | ||
| + | ||
| IMPORTANT: Replace the permissions and roles using the legacy source by permissions using the REST API or the CSV file sources. | ||
themr0c marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| .Procedure | ||
| * To determine the source of a role or policy, use a `GET` request. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.