-
- Downloads
Signup: Adding restrictions for edge cases. (#5206)
* Restricted UsersController#create API when external AuthN is enabled.
* Restricted access to Signup page when external AuthN is enabled.
* Restricted authenticated access to signup API only to admins.
* Hid New User form on admin panel when external AuthN is enabled.
---------
Co-authored-by:
Ahmad Farhat <ahmad.af.farhat@gmail.com>
Showing
- app/controllers/api/v1/api_controller.rb 5 additions, 0 deletionsapp/controllers/api/v1/api_controller.rb
- app/controllers/api/v1/users_controller.rb 15 additions, 9 deletionsapp/controllers/api/v1/users_controller.rb
- app/javascript/components/admin/manage_users/ManageUsers.jsx 32 additions, 25 deletionsapp/javascript/components/admin/manage_users/ManageUsers.jsx
- app/javascript/components/users/authentication/Signup.jsx 13 additions, 2 deletionsapp/javascript/components/users/authentication/Signup.jsx
- spec/controllers/users_controller_spec.rb 78 additions, 14 deletionsspec/controllers/users_controller_spec.rb
Loading
Please register or sign in to comment