<!DOCTYPE html>
<html data-lt-installed="true">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="padding-bottom: 1px;">
<p>Hello everyone,</p>
<p>I'm currently trying to add some functionality to our
accessRequest setup:</p>
<p>I want to display different catalogs of roles based on the
role/org membership of a user.<br>
The scenario I have in mind enables a user that is a member of a
specific org to request access to (some) roles in that org. The
object collection for that is simple, but if I configure the
roleCatalog through the adminGuiConfiguration attribute and assign
the role to a user, the collections defined through different
roles are not merged but replaced.</p>
<p>So I have a setup where a user is able to see some roles in the
access request GUI configured through a role. But as soon as they
are a member of two roles defining different collections for the
roleCatalog only one configuration takes effect.</p>
<p>This is the setup:</p>
<p>Role 1:</p>
<p> <roleCatalog><br>
[...]<br>
<collection><br>
<identifier>Example1</identifier><br>
<collectionRef oid="XXXXXX"
type="ObjectCollectionType"/><br>
<default>true</default><br>
</collection><br>
</roleCatalog></p>
<p>This is visible and works as long as the user is not a member of
a second Role defining the same option for a different collection:</p>
<p>Role 2:</p>
<p> <roleCatalog><br>
[...]<br>
<collection><br>
<identifier>Example2</identifier><br>
<collectionRef oid="XXXXX"
type="ObjectCollectionType"/><br>
</collection><br>
</roleCatalog></p>
<p>Intuitively, I would have expected the setting to be merged (it
works for the rest of the settings in adminGuiConfiguration after
all), but that doesn't seem to be the case.<br>
I also didn't find much in the documentation about this, so any
help would be greatly appreciated.<br>
</p>
<p>Thanks in advance and kind regards,</p>
<p>Sven<br>
</p>
<lt-container></lt-container>
<pre class="moz-signature" cols="72">--
Sven Feyerabend
Referent für IT-Betreuung
stuvus – Studierendenvertretung Universität Stuttgart
Pfaffenwaldring 5c
70569 Stuttgart</pre>
</body>
</html>