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-the-rbac-plugin.adoc
+31-2Lines changed: 31 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,15 @@
1
1
[id='proc-enabling-rbac_{context}']
2
-
= Enabling Role-Based Access Control (RBAC)
2
+
= Enabling and giving access to the Role-Based Access Control (RBAC) feature
3
3
4
4
The Role-Based Access Control (RBAC) feature is disabled by default.
5
5
Enable the RBAC plugin to start using RBAC features.
6
6
7
7
.Prerequisites
8
8
* You have link:{linkadminguide}#assembly-add-custom-app-file-openshift_admin-rhdh[added a custom {product-short} application configuration], and have sufficient permissions to modify it.
9
+
* You have link:{authentication-book-title}[enabled an authentication provider].
9
10
10
11
.Procedure
11
-
* The RBAC plugin is installed but disabled by default.
12
+
. The RBAC plugin is installed but disabled by default.
12
13
To enable the `./dynamic-plugins/dist/janus-idp-backstage-plugin-rbac` plugin, edit your `dynamic-plugins.yaml` with following content.
13
14
+
14
15
.`dynamic-plugins.yaml` fragment
@@ -20,3 +21,31 @@ plugins:
20
21
----
21
22
+
22
23
See link:{installing-and-viewing-dynamic-plugins-url}[{installing-and-viewing-dynamic-plugins-title}].
24
+
25
+
. Declare policy administrators to allow a certain limited number of authenticated users to configure RBAC policies by using the REST API or the Web UI, rather than editing the CSV file.
26
+
The actual policies are defined in a separate CSV file and referenced in the app-config-rhdh ConfigMap.
27
+
+
28
+
To declare users such as __<your_policy_administrator_name>_ as policy administrators, edit your custom {product-short} ConfigMap, such as `app-config-rhdh`, and add following lines to the `app-config-rhdh.yaml` content:
0 commit comments