We had to make several manual adjustments to AdminGroups and Roles and have since made these part of the c3Customer repository.
To properly test these and ensure we have full consistency between environments, we believe we need to clearUserUpdatedFields for the AdminGroups and Roles prior to deploying a release so the Platform doesn’t see those and exclude them from provisioning, thereby leaving the manually edited roles to persist.
- The function for AdminGroups that I have is the following; please confirm:
- Is there a similar function for Roles?
- Would it be better to provision/deploy with a -r (“reset”) parameter than run this/these prior to the deployment?