mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-07-27 08:56:50 +08:00
feat: add user and role management pages with API integration
- Implemented user management functionality in UsersPage including user creation, editing, deletion, and role assignment. - Added role management functionality in RolesPage with role creation, editing, deletion, and path rule management. - Created users API for handling user-related operations. - Created roles API for handling role-related operations. - Integrated permissions handling in both user and role management. - Enhanced UI with Ant Design components for better user experience.
This commit is contained in:
@@ -1,3 +1,19 @@
|
||||
from .database import StorageAdapter
|
||||
from .database import (
|
||||
StorageAdapter,
|
||||
UserAccount,
|
||||
Role,
|
||||
UserRole,
|
||||
Permission,
|
||||
RolePermission,
|
||||
PathRule,
|
||||
)
|
||||
|
||||
__all__ = ["StorageAdapter"]
|
||||
__all__ = [
|
||||
"StorageAdapter",
|
||||
"UserAccount",
|
||||
"Role",
|
||||
"UserRole",
|
||||
"Permission",
|
||||
"RolePermission",
|
||||
"PathRule",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user