app/controllers/api/user_controller.rb in gds-sso-2.1.0 vs app/controllers/api/user_controller.rb in gds-sso-3.0.0
- old
+ new
@@ -33,8 +33,8 @@
user: { permissions: user_json['permissions'] }
})
end
def require_user_update_permission
- authorise_user!(GDS::SSO::Config.default_scope, "user_update_permission")
+ authorise_user!("user_update_permission")
end
end