snipsnap
snipsnap copied to clipboard
Add write permissions option for shared templates
When do you share group or specific template, we need to be able define permissions "read" or "write". In case user have write permissions, he can also modify that template, otherwise there should not be an option to edit it.
Let's add here dropdown with permissions options, I will provide design later on.
Also we should indicate it here with the name
In order to do this task, we should add an extra field to shared_templates/shared_groups tables that will define permissions for shared object. Also, we will need to modify permissions in Hasura the way that user who has write permissions can actually modify the template.