in functions.rights.php bei function createRightsForElement
Code: Alles auswählen
$userIDContainer[0] = $auth->auth["uid"]; // user_id of current user
$userIDContainer = array_merge($userIDContainer, $perm->getGroupsForUser($auth->auth["uid"])); // add group ids
Code: Alles auswählen
$userIDContainer = $perm->getGroupsForUser($auth->auth["uid"]); // add groups if available
$userIDContainer[] = $auth->auth["uid"]; // add user_id of current user