tachybase_todo/packages/database/src
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
..
__tests__ Feat/plugin UI schema v0.6 (#143) 2022-01-19 10:09:30 +08:00
fields Feat/plugin UI schema v0.6 (#143) 2022-01-19 10:09:30 +08:00
operators v0.6 2021-12-06 21:23:34 +08:00
relation-repository Feat/GitHub actions (#148) 2022-01-08 17:16:11 +08:00
collection-importer.ts v0.6 2021-12-06 21:23:34 +08:00
collection.ts Feat/plugin collection manager (#147) 2022-01-19 10:02:52 +08:00
database.ts feat: improve the params of the ctx.action 2022-01-23 12:42:35 +08:00
filter-parser.ts feat: filter by target key (#146) 2022-01-07 20:08:01 +08:00
index.ts Feat/plugin UI schema v0.6 (#143) 2022-01-19 10:09:30 +08:00
magic-attribute-model.ts Feat/plugin UI schema v0.6 (#143) 2022-01-19 10:09:30 +08:00
model-hook.ts v0.6 2021-12-06 21:23:34 +08:00
options-parser.ts feat: filter by target key (#146) 2022-01-07 20:08:01 +08:00
playground.ts v0.6 2021-12-06 21:23:34 +08:00
repository.ts Plugin acl (#166) 2022-01-24 14:10:35 +08:00
transaction-decorator.ts Plugin acl (#166) 2022-01-24 14:10:35 +08:00
update-associations.ts feat: filter by target key (#146) 2022-01-07 20:08:01 +08:00
update-guard.ts Feat/plugin UI schema v0.6 (#143) 2022-01-19 10:09:30 +08:00