I would like to add some permissions to the anonymous role and export them in some way for better deployment.
Looks like SQL create/update scripts may solve the issue, but anonymous role is already presented in the database and I’m not sure how I can determine it’s ID for the reference.
So, what is the recommended way to achieve the result?
The role name is unique.
Also, the Anonymous role is created by the CUBA init scripts and its ID is predefined. So if you don’t change it in your app, you can safely refer by its standard ID: cd541dd4-eeb7-cd5b-847e-d32236552fa9