e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

[Feature request]: could be exception for main admin removed - access to user data #5194

Open Jimmi08 opened 4 months ago

Jimmi08 commented 4 months ago

Motivation

With this code main admin always sees user list or user data

$full_perms = getperms("0") || check_class(varset($pref['memberlist_access'], 253));

But there is the preference to set this directly in the admin area.

image

It is confusing and hard to check.

Proposed Solution

Remove exception for main admin or let it only in debug mode

Alternatives

.

Additional Context

Thanks