Go to file
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
.github/workflows Feat/GitHub actions (#148) 2022-01-08 17:16:11 +08:00
docs feat: client v0.6 (#150) 2022-01-10 19:22:21 +08:00
packages feat: add acl plugin (#169) 2022-01-30 10:37:27 +08:00
.env.example feat: upgrade plugin-action-logs 2021-12-07 15:21:16 +08:00
.eslintignore v0.6 2021-12-06 21:23:34 +08:00
.eslintrc v0.5 2021-05-23 08:38:08 +08:00
.gitignore v0.6 2021-12-06 21:23:34 +08:00
.prettierignore v0.6 2021-12-06 21:23:34 +08:00
.prettierrc refactor: code splitting of the table component (#121) 2021-12-02 22:56:16 +08:00
.umirc.ts feat: client v0.6 (#150) 2022-01-10 19:22:21 +08:00
commitlint.config.js chore: commitlint 2022-01-26 12:07:47 +08:00
jest.config.js fix: plugin packages dependencies 2021-12-07 19:40:30 +08:00
jest.setup.ts v0.6 2021-12-06 21:23:34 +08:00
lerna.json v0.6 2021-12-06 21:23:34 +08:00
package.json chore: commitlint 2022-01-26 12:07:47 +08:00
README.md docs: update readme 2021-12-06 21:25:28 +08:00
tsconfig.build.json feat: client v0.6 (#150) 2022-01-10 19:22:21 +08:00
tsconfig.jest.json feat: client v0.6 (#150) 2022-01-10 19:22:21 +08:00
tsconfig.json feat: client v0.6 (#150) 2022-01-10 19:22:21 +08:00
yarn.lock feat(client): add board component 2022-01-29 17:30:40 +08:00