You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/authorization/proc-enabling-guest-access-for-rbac-frontend-plugin.adoc
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,11 @@ Use guest access for the Role-Based Access Control (RBAC) frontend plugin to tes
6
6
.Prerequisites
7
7
* 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}].
8
8
9
-
== Configuring the RBAC backend plugin
9
+
.Procedure
10
10
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:
12
14
13
15
[source,yaml,subs=+quotes]
14
16
----
@@ -26,12 +28,16 @@ permission
26
28
27
29
[NOTE]
28
30
====
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.
30
32
====
31
33
32
34
== Setting up the guest authentication provider
33
35
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:
35
41
36
42
[source,yaml,subs="+attributes,+quotes"]
37
43
----
@@ -43,4 +49,10 @@ auth:
43
49
dangerouslyAllowOutsideDevelopment: true
44
50
----
45
51
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.
0 commit comments