How to create migrations for permissions changes? #8203
-
Hi, Running this script through the migrate api doesn't apply the permissions nor does it create the permissions. Is there a way to have the permission changes create migrations using the migrations api? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The best way to achieve this would be to generate/change the metadata files, then apply those files using your standard CI/CD process. |
Beta Was this translation helpful? Give feedback.
The best way to achieve this would be to generate/change the metadata files, then apply those files using your standard CI/CD process.
This project here includes a utility to write/read the metadata into a JS object, you could use it to help you write your permissions.