Work on permissions for iframes and Novi.
This commit is contained in:
@@ -544,7 +544,9 @@ onMount(() => {
|
||||
|
||||
|
||||
{#if $ae_loc.hub?.show_element__access_type}
|
||||
<Element_access_type />
|
||||
<Element_access_type
|
||||
hidden={$ae_loc.iframe && !$ae_loc.trusted_access}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ let ae_promises: key_val = {};
|
||||
<div class="ae_options flex flex-row flex-wrap gap-2 items-center justify-center">
|
||||
<button
|
||||
type="button"
|
||||
disabled={!$ae_loc.trusted_access}
|
||||
disabled={!$ae_loc.authenticated_access}
|
||||
on:click={() => {
|
||||
$idaa_slct.archive_content_id = idaa_archive_content_obj?.archive_content_id;
|
||||
$idaa_slct.archive_content_obj = idaa_archive_content_obj;
|
||||
@@ -108,7 +108,7 @@ let ae_promises: key_val = {};
|
||||
<span class="fas fa-play m-1"></span> Play/View
|
||||
</button>
|
||||
|
||||
{#if $ae_loc.authenticated_access && idaa_archive_content_obj?.hosted_file_id}
|
||||
{#if $ae_loc.trusted_access && idaa_archive_content_obj?.hosted_file_id}
|
||||
<button
|
||||
type="button"
|
||||
disabled={!$ae_loc.trusted_access}
|
||||
|
||||
Reference in New Issue
Block a user