sample_rails_tailwind/db/migrate
songtianlun f2c7d02eed feat: add user deletion functionality
- Implement user destroy action in UsersController
- Add admin check for user deletion
- Update user view to include delete link for admins
- Add migration to add admin attribute to users
- Update tests to cover new admin functionality

This commit introduces the ability for admin users to delete
other users from the system. It includes necessary checks to
ensure that only admins can perform this action, along with
updates to the user interface and tests to validate the
new behavior.
2025-01-05 18:27:13 +08:00
..
20241231022507_create_users.rb feat: add user registration functionality 2024-12-31 14:20:22 +08:00
20241231055957_add_index_to_users_email.rb feat: add user registration functionality 2024-12-31 14:20:22 +08:00
20241231060757_add_password_digest_to_users.rb feat: add user registration functionality 2024-12-31 14:20:22 +08:00
20250102072521_add_remember_digest_to_users.rb feat: add remember me functionality for user sessions 2025-01-02 16:47:26 +08:00
20250105095157_add_admin_to_users.rb feat: add user deletion functionality 2025-01-05 18:27:13 +08:00