feat: add user activation control

- Add is_active field to user model
- Create SealCheckbox component with clickable container
- Add activation control to user modal
- Display user status in users table
- Add localization strings for activation features
This commit is contained in:
Hugo Haldi
2025-10-09 10:11:05 +08:00
committed by jialin
parent 8e77e19631
commit 521bf211a2
8 changed files with 158 additions and 20 deletions
+5
View File
@@ -5,6 +5,11 @@ export default {
'users.form.create': 'New User',
'users.table.username': 'User Name',
'users.table.role': 'Role',
'users.table.status': 'Status',
'users.status.active': 'Active',
'users.status.inactive': 'Inactive',
'users.form.active': 'Active account',
'users.form.active.description': 'Enable or disable this user account',
'users.form.fullname': 'Full Name',
'users.form.source': 'Source',
'users.table.user': 'users',