nocobase/packages
ChengLei Shao 7a7ab2ef41
feat: add acl plugin (#169)
* 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

* add acl association field test

* feat(plugin-acl): grant association field actions

* chore(plugin-acl): type name

* feat(plugin-acl): regrant actions on resource action update

* feat(plugin-acl): regrant action on field destroy

* fix(plugin-acl): test

* fix(plugin-acl): test run

* feat(plugin-acl): set default role

* feat(plugin-users): set user default role

* test(plugin-users): create user with role

* feat(plugin-users): create user with role

Co-authored-by: chenos <chenlinxh@gmail.com>
2022-01-30 10:37:27 +08:00
..
acl feat: add acl plugin (#169) 2022-01-30 10:37:27 +08:00
actions feat: improve mock server agent 2022-01-23 15:04:50 +08:00
api fix(plugin-collection-manager): cannot destructure property 'skipExist' of 'loadOptions' as it is undefined. 2022-01-22 16:42:25 +08:00
client add Filter component into schema componens (#176) 2022-01-29 23:07:05 +08:00
database feat: add acl plugin (#169) 2022-01-30 10:37:27 +08:00
plugin-acl feat: add acl plugin (#169) 2022-01-30 10:37:27 +08:00
plugin-action-logs feat: upgrade plugin-action-logs 2021-12-07 15:21:16 +08:00
plugin-china-region fix: plugin packages dependencies 2021-12-07 19:40:30 +08:00
plugin-collection-manager fix(database): missing context in hook 2022-01-25 17:08:35 +08:00
plugin-file-manager Feat/GitHub actions (#148) 2022-01-08 17:16:11 +08:00
plugin-notifications feat: upgrade plugin-users 2021-12-08 09:10:44 +08:00
plugin-system-settings feat: upgrade plugin-users 2021-12-08 09:10:44 +08:00
plugin-ui-schema-storage rename 2022-01-19 10:18:53 +08:00
plugin-users feat: add acl plugin (#169) 2022-01-30 10:37:27 +08:00
resourcer feat: improve the params of the ctx.action 2022-01-23 12:42:35 +08:00
server Plugin acl (#166) 2022-01-24 14:10:35 +08:00
test Plugin acl (#166) 2022-01-24 14:10:35 +08:00
utils feat: add uid 2022-01-08 18:02:42 +08:00