tachybase_todo/packages/plugin-users/src
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
..
__tests__ feat: add permissions plugin (#53) 2021-01-13 16:23:15 +08:00
actions refactor: change the field type names to uppercase 2020-12-10 14:47:13 +08:00
collections Feature: add permission plugin api (#57) 2021-01-20 08:33:47 +08:00
fields fix: updatedBy field in bulkUpdate hook (#54) 2021-01-07 14:49:39 +08:00
hooks fix: use database hook to trigger add createdBy/updatedBy fields 2020-12-18 15:50:03 +08:00
middlewares feat: add permissions plugin (#53) 2021-01-13 16:23:15 +08:00
index.ts feat: add permissions plugin (#53) 2021-01-13 16:23:15 +08:00
server.ts feat: add permissions plugin (#53) 2021-01-13 16:23:15 +08:00