RSS Feed/News hasAdminPermission should check if permission exists for super admin

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,964
Points
823

Reputation:

I am not sure if this could be considered as a bug or rather a suggestion.

If an admin permission is not defined, e.g. because corresponding add-on is not installed, hasAdminPermission should evaluate as false, even for super admins.

Continue reading...
 
Status
Not open for further replies.
Top