The admin user (with the user ID of 1)

What a pitty! The admin user (or superuser) priviledge is not covered by the authorisation scheme in c5.7.

Solution: a small code modification allows a group "SuperUser" to take effect to authorise superuser facilities to any user.

file /concrete/src/User/User.php
<         $gid = Group::getByName("SuperUser");
<         return $this->superUser || ( $gid !== null && $this->inGroup($gid) ); 
>         return $this->superUser;

Any chance to get this (or similar) into the next release?

View Replies: