-
- Downloads
You can not remove user if he/she is an only owner of group
To prevent loose of group data you need to transfer or remove group
first before you can remove user
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
- app/controllers/admin/users_controller.rb 1 addition, 5 deletionsapp/controllers/admin/users_controller.rb
- app/controllers/registrations_controller.rb 1 addition, 1 deletionapp/controllers/registrations_controller.rb
- app/models/user.rb 4 additions, 0 deletionsapp/models/user.rb
- app/services/delete_user_service.rb 10 additions, 0 deletionsapp/services/delete_user_service.rb
- app/views/admin/users/index.html.haml 5 additions, 4 deletionsapp/views/admin/users/index.html.haml
- app/views/admin/users/show.html.haml 14 additions, 10 deletionsapp/views/admin/users/show.html.haml
- app/views/profiles/accounts/show.html.haml 15 additions, 11 deletionsapp/views/profiles/accounts/show.html.haml
- lib/api/users.rb 1 addition, 1 deletionlib/api/users.rb
- spec/models/user_spec.rb 17 additions, 1 deletionspec/models/user_spec.rb
app/services/delete_user_service.rb
0 → 100644
Please register or sign in to comment