Fixing attributes for permissions.