ed158d4981
feat: support advanced editor in model edit page ( #3176 )
...
* feat: integrate external model editor and handle message events for model updates
* feat: add CasbinEditor and IframeEditor components for model editing
* feat: add tabbed editor interface for CasbinEditor
* fix: Synchronize content between basic and advanced editors
* refactor: simplify CasbinEditor and ModelEditPage components
* refactor: Refactor CasbinEditor for improved iframe initialization and model synchronization
* refactor: update default state of CasbinEditor active tab to "advanced
* chore: add Apache License header to CasbinEditor.js and IframeEditor.js files
* refactor: update CasbinEditor class names for consistency
2024-09-16 22:25:25 +08:00
69aa3c8a8b
feat: Revert "feat: add Casbin editor's checking in model editor" ( #3167 )
...
This reverts commit a1b010a406
.
2024-09-03 21:59:06 +08:00
a1b010a406
feat: add Casbin editor's checking in model editor ( #3166 )
...
* feat: add model syntax linting and update dependencies
* refactor: move model linter logic to separate module
2024-09-03 21:32:45 +08:00
684cbdb951
fix: replace the wrong param name willExist ( #2389 )
2023-10-10 21:47:38 +08:00
abfc464155
Remove isEnabled for model, adapter and enforcer, improve UI
2023-08-18 19:22:47 +08:00
ea10f8e615
feat: make hard-coded authz adapter editable, rename adapter to ormer ( #2149 )
...
* refactor: rename casbinAdapter to casdoorAdapter
* feat: add initEnforcer
* fix: router
* refactor: make hard-coded code configurable
* fix: data type
* feat: support sqlite3
* feat: disable delete and edit name for built in resources
* feat: optimize code
* fix: init
* fix: e2e
* fix: remove datasourcename
* fix: revert rename
* refactor: change all ORM's Adatper to Ormer
* refactor: name
2023-07-29 15:07:04 +08:00
a6f803aff1
feat: refactor code to use responseOK everywhere ( #2111 )
...
* refactor: use responseOK return frontend format json data
* revert handle error
* revert handle error
2023-07-23 09:49:16 +08:00
cd7589775c
feat: replace all panic by response err ( #1993 )
...
* fix: missing return after response error
* feat: handle error in frontend
* feat: disable loading and catch org edit error
* chore: i18 for error message
* chore: remove break line
* feat: application catching error
2023-06-27 21:33:47 +08:00
0bda29f143
feat: show 404 error for non-existent objects in edit pages
2023-06-10 01:56:15 +08:00
5ec7a54bf8
Add description fields to objects
2023-06-04 01:21:17 +08:00
c858d0e0b0
Fix model page bug
2023-06-03 10:35:58 +08:00
cb542ae46a
feat: fix org admin permissions ( #1822 )
2023-05-09 00:06:52 +08:00
5b27f939b8
Improve add model initialization
2023-05-05 01:51:34 +08:00
9f3ee275a8
feat: reformat frontend alert texts with correct i18n ( #1341 )
...
* fix: add i18
* fix: standard prompt message
2022-12-02 00:06:28 +08:00
deed857788
chore(style): allow case declarations and ban var
( #987 )
...
* chore(style): allow case declarations
* chore(style): ban `var` and prefer `const`
2022-08-08 23:35:24 +08:00
6aaba6debd
feat: space between infix op
2022-08-06 23:43:09 +08:00
503d244166
feat(web): add lint ( #875 )
...
* feat: add lint
* feat: fix lint error
* chore: add ignore file
* chore: close indent
2022-07-10 15:45:55 +08:00
1b5a8f8e57
Fix missing i18n text.
2022-06-15 00:55:06 +08:00
d52caed3a9
feat: add model page ( #757 )
...
* feat: add model page
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* feat: support config model for permission
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
* translation and indentation
Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com >
2022-05-24 18:27:47 +08:00