Wu Clan
5c7d6659cf
Reconstruct RBAC authentication logic ( #264 )
...
* Reconstruct RBAC authentication logic
* fix typo
* Migrate casbin sqla Adapter to redis
* Delete casbin model conf file
* Add permission dependencies
* Add request permission depends on execution condition
* Update openapi authorization method
* Add request permission identity
* Add request permission dependency description
* Migrate casbin redis adapter to sqla
* Update menu model and add function
* Fix menu permission identification
* Update user partial interface permissions
* Update menu table SQL
* Add role menu permission description to README
* fix README typo
* Simplify permission dependency injection
* Fix menu authorization store
* Fix interface permission dependency order
* Update role menu permission flag
* Update the background permission logic of the interface
2024-01-08 09:35:47 +08:00
Wu Clan
3bb28a3379
Add init pytest data sql file ( #231 )
...
* Add init pytest data sql file
* Fix SQL style
2023-10-22 20:54:27 +08:00
Wu Clan
d9ffe20121
Fix the interface logic for dept details ( #201 )
...
* Fix the interface logic for dept details
2023-08-12 21:17:50 +08:00
Wu Clan
0b95f2c61e
Update asynccasbin to casbin async api ( #199 )
...
* Update asynccasbin to casbin async api
* remove pymysql dependency
* update the test-user test to admin
2023-08-08 17:27:20 +08:00
Wu Clan
c1295dda84
Fix casbin async enforcer ( #192 )
...
* rename the file casbin_rbac to rbac
* omit
* fix casbin async enforcer
* update the group rule interface access permissions
* add menu permission validation
* update the init test data sql
* add the staff field to the user information query return
2023-07-31 17:12:07 +08:00
Wu Clan
eb662e4525
Add user password encryption salt ( #191 )
...
* Add user password encryption salt
* update the salt logic
* Update the SQL files
* Add an update admin login permission interface
* update the is_staff field comment
* update the staff error msg
* Update user backend management operation permissions
2023-07-31 10:53:46 +08:00
Wu Clan
811fd278f7
Update SQL files and use them as execution targets ( #188 )
2023-07-29 00:18:16 +08:00
Wu Clan
f21006000a
Update user role interface to standalone ( #177 )
...
* Update user role interface to standalone
* Fix the userinfo schema department field type
* fix update userinfo values
* fix update user avatar value
* update readme docs
* update test data sql
* update readme typo
* update readme docs
2023-07-14 17:01:47 +08:00
Wu Clan
d877c86664
Update monitoring return data ( #176 )
2023-07-13 17:44:07 +08:00
Wu Clan
44befcc79f
Add query users by department ID ( #175 )
...
* Add query users by department ID
* fix dept parent id schema field
* fix dept get all select
* update the test sql
2023-07-09 16:39:37 +08:00
dylan
b194a32395
fix get_tree_data exception. ( #169 )
2023-07-04 20:41:17 +08:00
Wu Clan
84127066b7
Fix CORS 500 status code exception ( #167 )
...
* Fix CORS 500 status code exception
* update menu test sql data
* update docs string
* fix the exception category
2023-07-04 15:07:56 +08:00
Wu Clan
6f2c45a78d
Update menu handling logic ( #163 )
...
* Restore superuser menu to get
* Update menu table fields
* Update the sql file
* Update the readme file
* lint
2023-07-02 00:44:27 +08:00
Wu Clan
01fb391934
Add database init sql files ( #160 )
2023-06-26 19:58:43 +08:00