Univention Bugzilla – Bug 54436
Portal: "Can only be seen by these groups" should support an LDAP-Filter
Last modified: 2022-09-30 10:36:11 CEST
In most cases, selecting single groups for the "Can only be seen by these groups" option at a portal entry is probably fine. However, there are environments that are quite large and dynamic. Imagine we are a large UCS@school installation with several hundred schools and we are onboarding a couple of schools per week (or even offboarding some). It would be great if "Can only be seen by these groups" could also be dynamic, like with an (optional) LDAP-filter instead of a fixed list of groups, e.g. '(|(ucsschoolRole=school_teacher_group:school:*)(ucsschoolRole=school_admin_group:school:*))' for all teachers and schooladmins. Current workaround in projects is to build a listener module that adds the wanted groups to the portal entry, but that is kinda hacky and not accessible to most customers.