Project
In the 'project.go' file, change the struct and constructor to:
And the 'Create' function:
This simply creates a corresponding Project resource on Cerberus every time a project is created.
Because of the way we've set up our policies, new resources under an account will already be included in the account permissions, so you don't have to create default permissions here.
However, you might choose to not have transitive permissions, and thus would be required to create default permissions for every resource created, otherwise it would be inaccessible if you also have controller checks in place.
Last updated