Work on checking or guessing permissions based on Novi URL params.
This commit is contained in:
@@ -75,7 +75,24 @@
|
||||
// Resetting these just in case...
|
||||
$idaa_loc.bb.qry__hidden == 'not_hidden';
|
||||
$idaa_loc.bb.qry__enabled == 'enabled';
|
||||
} else if ($ae_loc.iframe) {
|
||||
// NOTE: This is sort of temporary while we work on getting Jisti working with IDAA's Novi site.
|
||||
} else if (
|
||||
$ae_loc?.iframe &&
|
||||
$idaa_loc?.novi_uuid?.length == 36
|
||||
) {
|
||||
$ae_loc.access_type = 'authenticated';
|
||||
$ae_loc.super_access = false;
|
||||
$ae_loc.manager_access = false;
|
||||
$ae_loc.administrator_access = false;
|
||||
$ae_loc.trusted_access = false;
|
||||
$ae_loc.public_access = false;
|
||||
$ae_loc.authenticated_access = true;
|
||||
$ae_loc.anonymous_access = true;
|
||||
|
||||
// Resetting these just in case...
|
||||
$idaa_loc.bb.qry__hidden == 'not_hidden';
|
||||
$idaa_loc.bb.qry__enabled == 'enabled';
|
||||
} else if ($ae_loc?.iframe) {
|
||||
$ae_loc.access_type = 'anonymous';
|
||||
$ae_loc.super_access = false;
|
||||
$ae_loc.manager_access = false;
|
||||
|
||||
@@ -513,8 +513,9 @@
|
||||
Re-initialize Jitsi
|
||||
</button>
|
||||
|
||||
<!-- https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-iframe-commands/ -->
|
||||
<button
|
||||
onclick={() => jitsi_api && jitsi_api.executeCommand('endMeeting')}
|
||||
onclick={() => jitsi_api && jitsi_api.executeCommand('endConference')}
|
||||
class="mt-2 px-2 py-1 bg-red-200 text-white rounded hover:bg-red-400"
|
||||
>
|
||||
<span class="fas fa-phone-slash" aria-hidden="true"></span>
|
||||
|
||||
Reference in New Issue
Block a user