Skip to content

Teams user counts change between views (when LDAP groups are members ?)Β #4430

Open
@olberger

Description

@olberger

Describe the bug

When accessing the contacts list, the teams are displayed in the left panel, with a number next to them (members count if I'm not mistaken). This members count changes, when one clicks on the team, to display the team members (diminishes).

In teams, we have added groups, which come from LDAP.

It seems to me that the initial count lists all users, be them direct members of the team of through the addition of the LDAP group.

The later count only lists entities being part of the team, i.e. number of individual users + number of groups.

It's quite strange behaviour in any case, that such a count changes in such a way, for users.

Steps to reproduce

Need to have LDAP groups activated.

Add both regular members in a team, as well as a LDAP group to the team

Navigate from all contacts page (apps/contacts/) to a particular team's page (apps/contacts/circle/...) and notice the members count number change

Expected behavior

Number of members of a team shouldn't change between global view and team view

Actual behavior

See above

Contact version

7.0.5

Operating system

No response

PHP engine version

None

Web server

None

Database

None

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions