@relationc/keycloak
v1.0.1
Published
An npm package for crm permission auto create and update
Downloads
1
Readme
Crm Permission
And Nestjs base package for auto create permission in Nestjs
Install
# With npm
npm install crm-permission
# Width yarn
yarn add crm-permissionUsage
@AppController('Example')
export class ExampleController {
@ApiMetaData({
description: 'Hello world',
name: 'Hello',
policy: 'Example:hello',
})
@Get('/hello')
async hello() {
return 'Hello';
}
}- Note: please check the correct order of decorator
