Permissions and groups for current user + small fix.