Commit Graph

15 Commits

Author SHA1 Message Date
chenos
86e2a2802d feat: add useClient and useResourceRequest hooks 2021-09-28 18:20:21 +08:00
chenos
897169a613 feat: add saas plugin 2021-09-28 00:18:09 +08:00
chenos
27f6bde775 feat: improve code 2021-09-23 00:16:04 +08:00
chenos
17db8b8afb feat: docs & examples 2021-09-16 15:57:21 +08:00
chenos
b7eb720eb4 feat: improve code 2021-09-16 00:38:48 +08:00
chenos
248d59f6ec feat: improve code 2021-09-14 11:09:26 +08:00
chenos
3fa9e59093 refactor: improve server application 2021-09-09 13:05:33 +08:00
chenos
a1bb52759b refactor: add command support to the server 2021-09-05 23:59:38 +08:00
chenos
4886a8a3a0 feat: async event emitter 2021-09-05 14:17:45 +08:00
chenos
c74818049b refactor: plugin initialization 2021-04-01 09:58:30 +08:00
Junyi
bd756a6a5c
Feature: add permission plugin api (#57)
* fix: update method of permission

* 页面访问权限

* feat: add tabs update in role

* refactor: change main action permission check into single file

* feat: add pluginLoaded event listener for init page permissions

* refactor: change to can api

* refactor: use constants for role types

* refactor: can api

* 只处理 actions 表里的权限,其余跳过

* 注释掉 fields

* bugfix

* add: 详情模块编辑按钮权限判断

* test: add cases

* fix: add association permission judgment

* fix: add disabled property to drawer select

Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-20 08:33:47 +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
chenos
6ffa3b53e8 refactor: add plugin manager 2020-12-18 19:54:53 +08:00
Junyi
110d5bcc9c
feat: add createdBy/updatedBy field config for table managed by collections (#43)
* feat: add createdBy/updatedBy field config for table managed by collections

* fix: update by different users and field initialization

* fix: function argument

* add: test cases

Co-authored-by: chenos <chenlinxh@gmail.com>
2020-12-18 09:04:40 +08:00
chenos
1023e317f3
fix #9 (#11)
* fix #9

* fix: database env variables
2020-11-12 11:48:27 +08:00