Various bug fixes. Improvements to the security. Now with super and manager and others.
This commit is contained in:
@@ -328,7 +328,7 @@ let ae_triggers: key_val = {};
|
||||
class="btn btn-sm"
|
||||
class:variant-ghost-success={$lq__event_presenter_obj?.enable}
|
||||
class:variant-ringed-warning={!$lq__event_presenter_obj?.enable}
|
||||
disabled={!$ae_loc.administrator_access}
|
||||
disabled={!$ae_loc.manager_access}
|
||||
>
|
||||
{#if $lq__event_presenter_obj?.enable}
|
||||
<span class="fas fa-toggle-on m-1"></span>
|
||||
@@ -348,7 +348,7 @@ let ae_triggers: key_val = {};
|
||||
<!-- Group -->
|
||||
|
||||
|
||||
{#if $ae_loc.administrator_access}
|
||||
{#if $ae_loc.manager_access}
|
||||
<button
|
||||
on:click={() => {
|
||||
if (!confirm('Are you sure you want to delete this speaker?')) {return false;}
|
||||
@@ -370,7 +370,7 @@ let ae_triggers: key_val = {};
|
||||
<span class="fas fa-minus-circle mx-1"></span>
|
||||
Delete
|
||||
</button>
|
||||
{:else if $ae_loc.trusted_access}
|
||||
{:else if $ae_loc.administrator_access}
|
||||
<button
|
||||
on:click={() => {
|
||||
if (!confirm('Are you sure you want to remove (disable) this speaker?')) {return false;}
|
||||
|
||||
Reference in New Issue
Block a user