[kronolith] Shared calendar creation enabled only for admins

Chuck Hagenbuch chuck at horde.org
Wed Jan 31 12:09:20 PST 2007


Quoting Muskingum Web Manager <webmgr at muskingum.edu>:

>> No. You should do this by setting the locked attribute of
>> default_share in your prefs.php file.
>
> Wouldn't locking it in prefs.php block the ability for admins as well,
> defeating his purpose of making the change?

if (!Auth::isAdmin()) {
     $_prefs['default_share']['locked'] = true;
}

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the kronolith mailing list