Adding test setPermissions for non admin user