Bug 44110 - Make it easier to distinguish classes, workgroups and regular groups
Make it easier to distinguish classes, workgroups and regular groups
Status: RESOLVED DUPLICATE of bug 45379
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-28 14:07 CEST by Michael Grandjean
Modified: 2017-09-12 12:48 CEST (History)
0 users

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2017-03-28 14:07:58 CEST
We should have an easy and failsafe way to tell if a group is a UCS@school class, a UCS@school workgroup or a plain UCS group. Currently, the only difference is their DN.

This makes it unnecessarily hard to fulfill a request (e.g. by an external application) like "show me all classes", because one has to iterate over all school OUs and then use "cn=klassen,cn=schueler,cn=groups,ou=${OU},${ldap_base}" as searchbase. 

Following the new objectClasses for UCS@school user roles, I suggest to also add objectClasses to the group types, e.g.:

UCS@school class → objectClass: ucsschoolClass
UCS@school workgroup → objectClass: ucsschoolWorkgroup

This way, a simple LDAP-Filter '(objectClass=ucsschoolClass)' would be enough for the request mentioned above.
Comment 1 Michael Grandjean univentionstaff 2017-09-12 12:48:56 CEST

*** This bug has been marked as a duplicate of bug 45379 ***