Working on sign in checking and permissions. This probably still needs to be reviewed some more.

This commit is contained in:
Scott Idem
2024-08-21 15:34:34 -04:00
parent d8edd658b0
commit fed37a77b8
10 changed files with 85 additions and 43 deletions

View File

@@ -47,7 +47,7 @@ let events_local_data_struct: key_val = {
// 'LNDF-67-89-92': true
},
session: {
// 'LNDF-67-89-92': true
// 'LNDF-67-89-92': true, false, 'read', 'write'
},
presentation: {
// 'LNDF-67-89-92': true

View File

@@ -44,7 +44,8 @@ ae_tmp.show__direct_download = false;
onMount(() => {
// console.log('Element - Manage Event File List');
// console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
console.log(`link_to_type: ${link_to_type}; link_to_id: ${link_to_id}`);
console.log(`allow_basic: ${allow_basic}; allow_moderator: ${allow_moderator}`);
// $slct_trigger = 'load__event_file_obj_li';
});

View File

@@ -54,6 +54,11 @@ onMount(() => {
</script>
{#await lq__event_file_obj_li}
<p>Loading...</p>
{:then lq__event_file_obj_li}
<Element_manage_event_file_li
link_to_type={link_to_type}
link_to_id={link_to_id}
@@ -63,3 +68,6 @@ onMount(() => {
container_class_li={container_class_li}
display_mode={display_mode}
/>
{:catch error}
<p style="color: red;">{error.message}</p>
{/await}