forest roles:copy
Copy the permissions of all roles from one environment to another environment of the same project.Usage
Options
roles:copy runs once per pair of environments, whatever the number of roles and teams. It targets environments that share the same schema. Between environments whose schemas differ, such as a legacy back-end and a new one, use forest roles:export and forest roles:apply, which match permissions by collection and action name.