Remove now unused setPermissions