This PR adds an additional option to the security config: pruneRolesBySource. If this is set to true, then for each role source that has at least one role specified in the CASC file, the plugin will delete any roles not specified in the casc file.
This allows for certain scenarios that were not easily catered for by the old behaviour of the plugin, such as changing the name of a role in the CASC file, then reapplying.
This PR adds an additional option to the security config:
pruneRolesBySource
. If this is set to true, then for each role source that has at least one role specified in the CASC file, the plugin will delete any roles not specified in the casc file.This allows for certain scenarios that were not easily catered for by the old behaviour of the plugin, such as changing the name of a role in the CASC file, then reapplying.