.codeclimate.yml | |
|
|
.commitlintrc.js | 3 | A 0 mins |
|
.czrc | |
|
|
.editorconfig | |
|
|
.gitignore | |
|
|
.huskyrc | |
|
|
.lintstagedrc.yml | |
|
|
.mdlrc | |
|
|
.npmignore | |
|
|
.npmrc | |
|
|
.nvmrc | |
|
|
.releaserc | |
|
|
.travis.yml | |
|
|
CODEOWNERS | |
|
|
CONTRIBUTING.md | |
|
|
LICENSE | |
|
|
README.md | |
|
|
codecov.yml | |
|
|
docs/assets/banner.png | |
|
|
docs/content/01-installation-and-usage.md | |
|
|
docs/content/02-permissions.md | |
|
|
docs/content/03-roles.md | |
|
|
jest.config.js | 25 | A 0 mins |
|
package.json | |
|
|
prettier.config.js | 1 | A 0 mins |
|
src/AccessControl.ts | 67 | A 2 hrs |
|
src/Errors/AbstractError.ts | 10 | A 0 mins |
|
src/Errors/AccessControlError.ts | 7 | A 0 mins |
|
src/Errors/PermissionNotFoundError.ts | 11 | A 0 mins |
|
src/Errors/RoleNotFoundError.ts | 10 | A 0 mins |
|
src/Resolvers/EnvsResolver.ts | 19 | A 0 mins |
|
src/Resolvers/PermissionResolver.ts | 17 | A 0 mins |
|
src/Resolvers/RolesResolver.ts | 10 | A 0 mins |
|
src/RolesStore.ts | 37 | A 0 mins |
|
src/Steps/AllowStep.ts | 51 | A 1 hr |
|
src/Steps/DenyPermissionStep.ts | 33 | A 0 mins |
|
src/Steps/DenyStep.ts | 18 | A 2 hrs |
|
src/Steps/DoesStep.ts | 18 | A 2 hrs |
|
src/Steps/GrantPermissionStep.ts | 33 | A 1 hr |
|
src/Steps/GrantStep.ts | 18 | A 2 hrs |
|
src/Steps/HaveStep.ts | 19 | A 0 mins |
|
src/Steps/PermissionCheckStep.ts | 73 | A 0 mins |
|
src/Steps/Step.ts | 14 | A 0 mins |
|
src/index.ts | 4 | A 0 mins |
|
src/types.ts | 18 | A 0 mins |
|
tsconfig.json | |
|
|
tsconfig.test.json | |
|
|
tslint.json | |
|
|
yarn.lock | |
|
|