Commit Graph

7 Commits

Author SHA1 Message Date
chenos
003745681b fix(plugin-collection-manager): filter out the fields 2022-01-24 14:41:27 +08:00
ChengLei Shao
bd285e0ba9
Plugin acl (#166)
* feat: getRepository

* getRepository return type

* export action

* add: acl

* feat: setResourceAction

* feat: action alias

* chore: code struct

* feat: removeResourceAction

* chore: file name

* ignorecase

* remove ACL

* feat: ACL

* feat: role toJSON

* using emit

* chore: test

* feat: plugin-acl

* feat: acl with predicate

* grant universal action test

* grant action test

* update resource action test

* revoke resource action

* usingActionsConfig switch

* plugin-ui-schema-storage

* remove global acl instance

* fix: collection manager with sqlite

* add own action listener

* add acl middleware

* add acl allowConfigure strategy option

* add plugin-acl allowConfigure

* change acl resourceName

* add acl middleware merge params

* bugfix

* append fields on acl action params

* acl middleware parse template

* fix: collection-manager migrate

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-24 14:10:35 +08:00
chenos
b398e65c9c fix(plugin-collection-manager): test error 2022-01-24 11:46:10 +08:00
Chareice
1d11a3e793 fix: collection manager with sqlite 2022-01-22 21:20:46 +08:00
chenos
5e7e3c2c46 fix(plugin-collection-manager): cannot destructure property 'skipExist' of 'loadOptions' as it is undefined. 2022-01-22 16:42:25 +08:00
chenos
11bbec7fd4 add tsconfig-paths/register 2022-01-22 16:34:31 +08:00
chenos
380b5e8c7a
Feat/plugin collection manager (#147)
* refactor: collection manager plugin

* feat(database): magic attribute model

* MagicAttributeModel

* load collections & fields options

* collections filterTargetKey
2022-01-19 10:02:52 +08:00