Go to file
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
.github/workflows Test/ci (#31) 2020-12-05 09:27:24 +08:00
packages Feature: add permission plugin api (#57) 2021-01-20 08:33:47 +08:00
.dockerignore chore: add app container 2020-12-14 17:06:05 +08:00
.editorconfig 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.env.example feat(file-manager): add aliyun oss storage 2020-12-31 12:11:38 +08:00
.eslintrc 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
.fatherrc.ts chore: allow specific build package 2020-12-24 07:35:53 +08:00
.gitignore feat: make single file upload to attachment available (#46) 2020-12-23 12:46:13 +08:00
docker-compose.yml chore: add app container 2020-12-14 17:06:05 +08:00
Dockerfile chore: add app container 2020-12-14 17:06:05 +08:00
dotenv.js first commit 2020-10-24 15:34:43 +08:00
jest.config.js fix: jest ignore father-build 2020-12-02 13:23:09 +08:00
lerna.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
nodemon.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00
package.json feat: add permissions plugin (#53) 2021-01-13 16:23:15 +08:00
README.md test: skip bug test cases for ci passing (#52) 2021-01-05 15:19:36 +08:00
tsconfig.json 发布核心框架 (#6) 2020-11-11 15:23:39 +08:00

Development

Install Dependencies

# Install dependencies for root project
npm i

# Install dependencies for sub packages via lerna
npm run bootstrap

Set Environment Variables

cp .env.example .env

Build

# for all packages
npm run build

# for specific package
npm run build <package_name_1> <package_name_2> ...

Test

# For all packages
npm test

# For specific package
npm test packages/<name>