Bug 38956 - Count valid group members in app reporting
Count valid group members in app reporting
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-2-errata
Assigned To: Florian Best
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-17 22:45 CEST by Stefan Gohmann
Modified: 2015-08-03 11:55 CEST (History)
0 users

See Also:
What kind of report is it?: ---
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?:
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 Stefan Gohmann univentionstaff 2015-07-17 22:45:14 CEST
Currently, it is possible to count the valid users, for example:
appreport/apptest/object_type = users/user
appreport/apptest/ldap_filter= '(&((apptestEnabled=1)(!(disabled=all)))'

It should also be possible to count the valid users of a list of groups, for example:
appreport/apptest/groupmember_search = group1,group2
Comment 1 Florian Best univentionstaff 2015-07-24 14:46:35 CEST
Implemented appreport/apptest/groupmember_search = group1,group2.

It internally rewrites the variable to:
appreport/apptest/object_filter='(|(name=group1)(name=group2))'
appreport/apptest/object_attribute='uniqueMember'

Additionally the following has been added, too:
appreport/apptest/attribute_type=users/user
appreport/apptest/attribute_filter='(!(disabled=all))'

→ This filters the attributes found via object_attribute against the filter and object type by treating the attribute as the DN of the object.

univention-appreport (1.0.1-1):
r62400 | Bug #38956: Count valid group members
Comment 2 Dirk Wiesenthal univentionstaff 2015-07-31 16:33:57 CEST
Code: OK
YAML: Not needed
Comment 3 Dirk Wiesenthal univentionstaff 2015-08-03 11:55:05 CEST
Announced