Skip to content

Commit 6981b30

Browse files
committed
Minor changes
1 parent 63f8e4f commit 6981b30

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

modules/observe/adoption-insights/proc-install-adoption-insights.adoc

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ For the {product} Adoption Insights plugin, you must manually install the plugin
1010

1111
.Procedure
1212

13-
* To enable the Adoption Insights plugin, set the `disabled` property to `false` in your `app-config-dynamic.yaml` file as shown in the following example:
13+
To enable the Adoption Insights plugin, complete the following steps:
14+
15+
* Set the `disabled` property to `false` in your `app-config-dynamic.yaml` file as shown in the following example:
1416
+
1517
[source,yaml]
1618
----
17-
- package: oci://quay.io/_<your_rhdh_plugins_repo>_/adoption-insights:latest!red-hat-developer-hub-backstage-plugin-adoption-insights # <1>
19+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-adoption-insights:bs_1.35.1__0.0.2!red-hat-developer-hub-backstage-plugin-adoption-insights
1820
disabled: false
1921
pluginConfig:
2022
dynamicPlugins:
@@ -33,11 +35,9 @@ For the {product} Adoption Insights plugin, you must manually install the plugin
3335
adoption-insights:
3436
parent: admin
3537
icon: adoptionInsightsIcon
36-
37-
- package: oci://quay.io/_<your_rhdh_plugins_repo>_/adoption-insights:latest!red-hat-developer-hub-backstage-plugin-adoption-insights-backend-dynamic
38+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-adoption-insights-backend:bs_1.35.1__0.0.2!red-hat-developer-hub-backstage-plugin-adoption-insights-backend-dynamic
3839
disabled: false
39-
40-
- package: oci://quay.io/_<your_rhdh_plugins_repo>_/adoption-insights:latest!red-hat-developer-hub-backstage-plugin-analytics-module-adoption-insights
40+
- package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-analytics-module-adoption-insights:bs_1.35.1__0.0.2!red-hat-developer-hub-backstage-plugin-analytics-module-adoption-insights
4141
disabled: false
4242
pluginConfig:
4343
dynamicPlugins:
@@ -46,4 +46,12 @@ For the {product} Adoption Insights plugin, you must manually install the plugin
4646
apiFactories:
4747
- importName: AdoptionInsightsAnalyticsApiFactory
4848
----
49-
<1> Replace the _<your_rhdh_plugins_repo>_ variable with the {product} plugins repository in which the image you want to use is present.
49+
50+
* For non-admin users, add the following permission policies in your permission policies configuration file `rbac-policy.csv`.
51+
+
52+
[source,yaml]
53+
----
54+
p, role:default/team_a, adoption-insights.events.read, read, allow
55+
g, user:default/_<user_name>_, role:default/team_a # <1>
56+
----
57+
<1> Replace _<user_name>_ with the name of the non-admin user.

0 commit comments

Comments
 (0)