Skip to content

Commit 92b444e

Browse files
themr0cJessicaJHee
andauthored
RHIDP-5975 document the includeTransitiveGroupOwnership option (redhat-developer#989)
* RHIDP-5975 document the `includeTransitiveGroupOwnership` option --------- Signed-off-by: Fabrice Flore-Thébault <[email protected]> Co-authored-by: Jessica He <[email protected]>
1 parent c87a8b1 commit 92b444e

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ include::modules/authorization/ref-rbac-permission-policies.adoc[leveloffset=+1]
4949

5050
include::modules/authorization/con-rbac-conditional-policies-rhdh.adoc[leveloffset=+1]
5151

52+
include::modules/authorization/proc_enabling_transitive_parent_groups.adoc[leveloffset=+2]
5253

5354
include::modules/authorization/ref-rbac-conditional-policy-definition.adoc[leveloffset=+2]
5455

modules/authentication/proc-enabling-authentication-with-rhbk.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ After successful authentication, the user signing in must be resolved to an exis
152152
The authentication provider tries each sign-in resolver in order until it succeeds, and fails if none succeed.
153153
+
154154
WARNING: In production mode, only configure one resolver to ensure users are securely matched.
155+
155156
`resolver`::::
156157
Enter the sign-in resolver name.
157158
Available values:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
= Enabling transitive parent groups
2+
3+
By default, {product} does not resolve indirect parent groups during authentication.
4+
In this case, with the following group hierarchy, the `user_alice` user is only a member of the `group_developers` group:
5+
6+
----
7+
group_admin
8+
└── group_developers
9+
└── user_alice
10+
----
11+
12+
To support multi-level group hierarchies when using the $ownerRefs alias, you can configure {product-short} to include indirect parent groups in the user’s ownership entities.
13+
In that case the `user_alice` user is a member of both `group_developers` and `group_admin` groups.
14+
15+
.Procedure
16+
17+
* Enable the `includeTransitiveGroupOwnership` option in your `{my-app-config-file}` file.
18+
+
19+
[source,yaml]
20+
----
21+
includeTransitiveGroupOwnership: true
22+
----

0 commit comments

Comments
 (0)