mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:46:00 +00:00
bd756a6a5c
* 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> |
||
---|---|---|
.github/workflows | ||
packages | ||
.dockerignore | ||
.editorconfig | ||
.env.example | ||
.eslintrc | ||
.fatherrc.ts | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
dotenv.js | ||
jest.config.js | ||
lerna.json | ||
nodemon.json | ||
package.json | ||
README.md | ||
tsconfig.json |
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>