syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <>
Subject [jira] [Commented] (SYNCOPE-1243) Add information to GroupTO about user and AnyObject membership counts
Date Wed, 06 Dec 2017 15:54:00 GMT


Colm O hEigeartaigh commented on SYNCOPE-1243:

Thanks for the review Francesco. Some comments:

a) int countUDynMembers(Group group);

Is this really necessary? The implementation is just "return findUDynMembers(group).size();".

b) int countADynMembers(Group group);

I'll have to change this to "public int countADynMembers(final Group group, final String key)"
or else "public Map<String, Integer> countADynMembers(final Group group)" - WDYT?

> Add information to GroupTO about user and AnyObject membership counts
> ---------------------------------------------------------------------
>                 Key: SYNCOPE-1243
>                 URL:
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 2.0.7, 2.1.0
>         Attachments: SYNCOPE-1243.patch
> If we want to find out how many users or AnyObjects are members of a given group, it's
not possible to figure out via the group itself. Instead we need to run a fiql on the users
or Any Objects.
> This task is to add the following fields to GroupTO so that we can get this information
more easily:
>   - int staticUserMembershipCount
>   - int dynamicUserMembershipCount
>   - Map<String, Integer> staticAnyObjectMembershipCount
>   - Map<String, Integer> dynamicAnyObjectMembershipCount

This message was sent by Atlassian JIRA

View raw message