enh: notes user group permission
This commit is contained in:
@@ -570,7 +570,7 @@
|
||||
</div>
|
||||
{/if} -->
|
||||
|
||||
{#if $config?.features?.enable_notes ?? false}
|
||||
{#if ($config?.features?.enable_notes ?? false) && ($user?.role === 'admin' || ($user?.permissions?.features?.notes ?? true))}
|
||||
<div class="px-1.5 flex justify-center text-gray-800 dark:text-gray-200">
|
||||
<a
|
||||
class="grow flex items-center space-x-3 rounded-lg px-2 py-[7px] hover:bg-gray-100 dark:hover:bg-gray-900 transition"
|
||||
|
||||
Reference in New Issue
Block a user