Work on permissions for iframes and Novi.
This commit is contained in:
@@ -9,6 +9,8 @@ import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
|
|||||||
import { events_loc } from '$lib/ae_events_stores';
|
import { events_loc } from '$lib/ae_events_stores';
|
||||||
// import { db_events } from "$lib/db_events";
|
// import { db_events } from "$lib/db_events";
|
||||||
|
|
||||||
|
export let hidden: boolean = false;
|
||||||
|
|
||||||
let entered_passcode: null|string = null;
|
let entered_passcode: null|string = null;
|
||||||
let show_passcode_input: boolean = false;
|
let show_passcode_input: boolean = false;
|
||||||
|
|
||||||
@@ -177,7 +179,11 @@ function dispatch_edit_mode_changed() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<section id="AE-Quick-Access-Type" class="ae_access_type bg-surface-100 text-surface-800 transition duration-300 delay-150 hover:delay-1000 hover:ease-out transition-all hover:transition-all hidden-print flex flex-col items-end gap-1">
|
<section
|
||||||
|
id="AE-Quick-Access-Type"
|
||||||
|
class="ae_access_type bg-surface-100 text-surface-800 transition duration-300 delay-150 hover:delay-1000 hover:ease-out transition-all hover:transition-all hidden-print flex flex-col items-end gap-1"
|
||||||
|
class:hidden={hidden}
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
<!-- Show list of authorized sessions and presentations for a user -->
|
<!-- Show list of authorized sessions and presentations for a user -->
|
||||||
|
|||||||
@@ -544,7 +544,9 @@ onMount(() => {
|
|||||||
|
|
||||||
|
|
||||||
{#if $ae_loc.hub?.show_element__access_type}
|
{#if $ae_loc.hub?.show_element__access_type}
|
||||||
<Element_access_type />
|
<Element_access_type
|
||||||
|
hidden={$ae_loc.iframe && !$ae_loc.trusted_access}
|
||||||
|
/>
|
||||||
{/if}
|
{/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">
|
<div class="ae_options flex flex-row flex-wrap gap-2 items-center justify-center">
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
disabled={!$ae_loc.trusted_access}
|
disabled={!$ae_loc.authenticated_access}
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
$idaa_slct.archive_content_id = idaa_archive_content_obj?.archive_content_id;
|
$idaa_slct.archive_content_id = idaa_archive_content_obj?.archive_content_id;
|
||||||
$idaa_slct.archive_content_obj = idaa_archive_content_obj;
|
$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
|
<span class="fas fa-play m-1"></span> Play/View
|
||||||
</button>
|
</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
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
disabled={!$ae_loc.trusted_access}
|
disabled={!$ae_loc.trusted_access}
|
||||||
|
|||||||
Reference in New Issue
Block a user