Authority management (#508)
* temp save * rebase master * fix same error * Add a new user and different permissions * fix eol-last * add Secured decorator * fix list redirect bug (#507) * Mobile menu (#463) * Increase the sliding menu * Add a simple animation * update mobile menu * update * update * update * rebase master * recovery import/first * fix error * Fix some bugs Change "ALL" to "NONE" Remove the "!" Support After landing successfully reload Reset the format * Pump your public logic * add some test * Add documents * use default currentRole in Authorized/AuthorizedRoute * rename props & change some authority setting * A big change😄 unified router and Secured parameters😭 loginOut logout also changed to reload * fix siderMeun bugs * Decoupled SiderMenu * Remove the handsome head of information * Add a simple error * rebase master
Showing
| ... | ... | @@ -16,11 +16,12 @@ |
| "lint-staged": "lint-staged", | ||
| "lint-staged:js": "eslint --ext .js", | ||
| "test": "jest", | ||
| "test:comps": "jest ./src/components", | ||
| "test:all": "node ./tests/run-tests.js" | ||
| }, | ||
| "dependencies": { | ||
| "@antv/data-set": "^0.8.0", | ||
| "antd": "^3.0.0", | ||
| "antd": "^3.1.0", | ||
| "babel-polyfill": "^6.26.0", | ||
| "babel-runtime": "^6.9.2", | ||
| "bizcharts": "^3.1.0-beta.4", | ||
| ... | ... | @@ -37,10 +38,10 @@ |
| "prop-types": "^15.5.10", | ||
| "qs": "^6.5.0", | ||
| "rc-drawer-menu": "^0.5.0", | ||
| "react": "^16.0.0", | ||
| "react": "^16.2.0", | ||
| "react-container-query": "^0.9.1", | ||
| "react-document-title": "^2.0.3", | ||
| "react-dom": "^16.0.0", | ||
| "react-dom": "^16.2.0", | ||
| "react-fittext": "^1.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| ... | ... |
src/utils/Authorized.js
0 → 100644
src/utils/authority.js
0 → 100644
Please register or sign in to comment