chenos
1ea08e62b6
Feature/action logs ( #61 )
...
* feat: add action logs plugin
* feat: add afterUpdate/afterDestroy hooks for logs
* 子表格细节改进
* fix: subtable
* activity
* bugfix
Co-authored-by: mytharcher <mytharcher@gmail.com>
2021-01-29 23:53:50 +08:00
chenos
c6e1fd2d5f
fix: set onDelete CASCADE
2021-01-27 11:24:23 +08:00
Junyi
db3a8a7499
Feature/destroy lock ( #60 )
...
* feat: load collection actions for custom options
* fix: test case
* optimization
Co-authored-by: chenos <chenlinxh@gmail.com>
2021-01-26 22:16:22 +08:00
chenos
82355e1422
fix: scopes
2021-01-23 17:09:33 +08:00
chenos
f1c0503916
fix: SequelizeForeignKeyConstraintError: insert or update on table "actions_scopes" violates foreign key constraint "actions_scopes_collection_name_fkey"
2021-01-23 11:17:36 +08:00
chenos
d50d5a6da3
fix: users roles field showInTable
2021-01-22 10:29:41 +08:00
chenos
301229ef88
feat: route permissions ( #58 )
...
* feat: routes permissions
* fix: try to fix roles.pages action
* 多态关联
* bugfix
* fix: auto generate when option value is undefined or null
* feat: add pages' permissions saving/listing
* feat: add permission filter for getRoutes
* roles description
* feat: get root permissions all true and create user with default role
* feat: roles.collections list output with permission
* add permissions description
* fix: add context to parseApiJson
* fix: typo
* 小细节补充
Co-authored-by: mytharcher <mytharcher@gmail.com>
2021-01-22 10:18:02 +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
chenos
eff2353954
fix: update collections.roles actions
2021-01-18 19:21:58 +08:00
chenos
1d5c39e0e8
feat: add permissions migration
2021-01-18 19:06:31 +08:00
chenos
95be672222
feat: add scope hook
2021-01-17 21:51:24 +08:00
chenos
3a3f6fa6ca
feat: add action scopes for permissions
2021-01-16 17:26:21 +08:00
chenos
9d95a27a7f
feat: add collection permissions tab
2021-01-14 10:52:20 +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
0a2912fe6e
docs: change 创建 to 新增
2020-12-23 19:55:25 +08:00
chenos
578454d07f
feat: pagination options ( #20 )
...
* feat: pagination options
* fix: data: {list, total}
2020-11-21 23:49:59 +08:00
chenos
9daae13c68
feat: improve plugins ( #14 )
...
* feat: delete defined resources
* feat: api client
* feat: view fields & tab field options & page info...
* fix: view type
2020-11-13 22:01:14 +08:00
chen
bf2e315c9e
refactor: code cleanup
2020-11-11 20:57:18 +08:00
chenos
dcdb21d398
发布核心框架 ( #6 )
...
* api/ui 改名为 server/client
* 微调
* 继续完善 pages
* Fix env file and file mode. (#1 )
* Fix: ignore .env file and environment variable names.
* Fix: correct file mode.
* fix: put environment variables together
* fix: separate data and ui resourcer
* feat: collection loader
* feat: redirectTo
* feat: fields & actions & views
* feat: fields & actions
* feat: app & pages & collections...
* feat: collections & pages & permissions...
* Doc: add readme (#2 )
* Doc: add README.md.
* Util: add .editorconfig.
* Fix: use glob ignore option instead of additional checking. (#3 )
* Fix: typo. (#4 )
* feat: permissions
* feat: getCollection & getView actions
* refactor: code cleanup
Co-authored-by: Junyi <mytharcher@users.noreply.github.com>
2020-11-11 15:23:39 +08:00
chen
e5d30b30ba
first commit
2020-10-24 15:34:43 +08:00