Skip to content

Commit a91e3c3

Browse files
author
GitHub Actions
committed
Update the setting up RBAC permission
1 parent 5d04431 commit a91e3c3

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

assemblies/assembly-configuring-authorization-in-rhdh.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ To define authorizations in {product-short}:
2828

2929
include::modules/authorization/proc-enabling-the-rbac-plugin.adoc[leveloffset=+1]
3030

31-
3231
include::modules/authorization/proc-enabling-guest-access-for-rbac-frontend-plugin.adoc[leveloffset=+2]
3332

34-
3533
include::modules/authorization/proc-determining-permission-policy-and-role-configuration-source.adoc[leveloffset=+1]
3634

3735

modules/authorization/proc-enabling-guest-access-for-rbac-frontend-plugin.adoc

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ Use guest access for the Role-Based Access Control (RBAC) frontend plugin to tes
66
.Prerequisites
77
* You have installed the `@janus-idp/backstage-plugin-rbac` plugin in {product-short}. For more information, see link:{plugins-configure-book-url}[{plugins-configure-book-title}].
88

9-
== Configuring the RBAC backend plugin
9+
.Procedure
1010

11-
Update the `app-config.yaml` to enable the permission framework, include the user `user:default/guest` in the admin users section, and ensure that the plugins with permissions appear in the UI as shown:
11+
To configure the RBAC backend plugin, complete the following steps:
12+
13+
Update the `app-config.yaml` file to enable the permission framework as shown:
1214

1315
[source,yaml,subs=+quotes]
1416
----
@@ -26,12 +28,16 @@ permission
2628

2729
[NOTE]
2830
====
29-
The `pluginsWithPermission` section includes only three plugins. Update the section as needed to include any additional plugins that also incorporate permissions.
31+
The `pluginsWithPermission` section of the `app-config.yaml` section includes only three plugins by default. Update the section as needed to include any additional plugins that also incorporate permissions.
3032
====
3133

3234
== Setting up the guest authentication provider
3335

34-
To enable guest authentication and to use it alongside the RBAC frontend plugin, update the `app-config.yaml`. Add the user entity reference to resolve and enable the `dangerouslyAllowOutsideDevelopment` option, as shown in the following example:
36+
.Procedure
37+
38+
To enable guest authentication and to use it alongside the RBAC frontend plugin, complete the following step:
39+
40+
* In the `app-config.yaml` file, add the user entity reference to resolve and enable the `dangerouslyAllowOutsideDevelopment` option, as shown in the following example:
3541

3642
[source,yaml,subs="+attributes,+quotes"]
3743
----
@@ -43,4 +49,10 @@ auth:
4349
dangerouslyAllowOutsideDevelopment: true
4450
----
4551

46-
You can use `user:default/guest` as the user entity reference to match the added user under the `permission.rbac.admin.users` section of the `app-config.yaml`.
52+
[NOTE]
53+
====
54+
You can use `user:default/guest` as the user entity reference to match the added user under the `permission.rbac.admin.users` section of the `app-config.yaml` file.
55+
====
56+
57+
58+

0 commit comments

Comments
 (0)