mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-12 10:30:17 +00:00
Listing External Calendars is part of the Administration menu and should be restricted to admins
this could be made configurable, or lumped in with $c->restrict_setup_to_admin, but non-admins only get here by manually entering the URL...
This commit is contained in:
parent
202e2edd5a
commit
e92e981542
@ -1,6 +1,10 @@
|
||||
<?php
|
||||
param_to_global( 'external_active', '([tf])', 'active' );
|
||||
|
||||
if ( !$session->AllowedTo("Admin" ) ) {
|
||||
@ob_flush(); exit(0);
|
||||
}
|
||||
|
||||
$browser = new Browser(translate('External Calendars'));
|
||||
|
||||
$browser->AddColumn( 'collection_id', translate('ID'), 'right', '##collection_link##' );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user