Admidio / admidio

Admidio is a free open source user management system for websites of organizations and groups. The system has a flexible role model so that it’s possible to reflect the structure and permissions of your organization.
https://www.admidio.org
GNU General Public License v2.0
336 stars 131 forks source link

Do not show users from invisible roles #292

Closed sistlind closed 6 years ago

sistlind commented 8 years ago

Hi, currently at the user overview all users with active roles are shown. This should be changed to show only user, which are in visible roles. Sometimes people are no longer member of the organization, but are still for example in one of the hidden roles of "mitgliedsbeitrag".

This has led to a lot of confusion at our organization, because there were members shown, which were in no role.

Just add 'AND rol_visible = 1' three times(around line 58,80,93) to https://github.com/Admidio/admidio/blob/master/adm_program/modules/members/members.php to solve this issue.

Best regards, Stefan

Fasse commented 8 years ago

Wie should add a flag in the preferences that hidden roles should not be considered in the user management. Only of You select to view all members.

Fasse commented 6 years ago

Since we havn't invisible roles in version 3.3 we can close this issue.