3
0
corteza/pkg/codegen-v3
Vivek Patel 0564fe7190 Add support for role permission cloning
It clones all RBAC rules from one role to another, but also removes all existing rules from role.
2021-12-10 00:54:59 +05:30
..
2021-07-08 15:55:05 +02:00

This is 3rd generation of corteza code generator (1st was written in PHP, apologies 2nd is active and in use)

Goal for the 3rd generation is:

  • improved definition structure that addresses all elements that are used for code generation (types, store, rbac)
  • unify most if not all definitions (stuff in YAML files) into what you can find in /def/...
  • JSON schema validation for YAML files

How to run it (temp):

go run pkg/codegen-v3/*.go def