In the example below we only have 1 permission file per module.
import { Module } from '@nestjs/common';
import { CaslModule } from 'nest-casl';
import { permissions } from './post.permissions';
@Module({
imports: [CaslModule.forFeature({ permissions })],
})
export class PostModule {}
For a bigger module, can I have several permission files and declared them in the parent module ? In order to keep seperate files for each "entity" in the module.