Commit Graph

9 Commits

Author SHA1 Message Date
chenos
f0eb2eee20 feat: improve the params of the ctx.action 2022-01-23 12:42:35 +08:00
chenos
732d31009e v0.6 2021-12-06 21:23:34 +08:00
chenos
c1b560e928
feat: rename resourceKey & associatedKey to resourceIndex & associatedIndex (#126)
* resourceIndex & associatedIndex

* resourceIndex & associatedIndex
2021-12-04 16:28:52 +08:00
Junyi
9495917e97
fix: minor problems (#72) 2021-04-04 23:33:06 +08:00
chenos
ce4a22fbb9 style: code formatting 2021-03-28 13:34:51 +08:00
Junyi
c5f089d7b7
feat: add permissions plugin (#53)
* test: skip bug test cases for ci passing

* feat: add base structure of plugin-permissions

* fix: user token parsing

* Refactor action parameter for better mergeParams (#55)

* refactor: add parameter types to handle parameters in action [WIP]

* fix: action parameter

* fix: test cases

* test: try to fix build error

* remove unused packages

* fix: revert compatibility back

Co-authored-by: chenos <chenlinxh@gmail.com>

* 补充权限界面相关功能

* bugfix

* fix: developer mode does not work

* feat: add action scope and fields limitation in permission

* 改进权限配置表单

* feat: get/update action for role.collection

* add scope select component

* add role users tabs

* typings

* test: temp skip

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-13 16:23:15 +08:00
Junyi
7fcce0943a
fix: use wrapped and logic for merging filters (#42) 2020-12-14 22:07:23 +08:00
Junyi
cd0b357887
Test/list (#19)
* test: add more case for list

* feat: allow order by associations in sorting

* fix: add more utils test in resourcer and fix except usage

* test: fix cases

* fix: page default value and max page size

* fix: page params and cases

* fix: list params

* fix: constants in list action

* fix: count when include, attributes when except and cases

* test: add case for hasMany.
2020-11-23 16:49:46 +08:00
chen
e5d30b30ba first commit 2020-10-24 15:34:43 +08:00