Added template editor separate role

This commit is contained in:
JhumanJ
2022-11-16 13:12:48 +01:00
parent d8bf96501b
commit 88812776db
7 changed files with 37 additions and 5 deletions

View File

@@ -67,7 +67,7 @@
</svg>
Duplicate form
</a>
<a href="#" v-if="user.admin"
<a href="#" v-if="user.template_editor"
class="block block px-4 py-2 text-md text-gray-700 dark:text-white hover:bg-gray-100 hover:text-gray-900 dark:text-gray-100 dark:hover:text-white dark:hover:bg-gray-600 flex items-center"
@click.prevent="showCreateTemplateModal=true"
>