summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-04-05 18:33:12 +0000
committerNick Palmer <nick@sluggardy.net>2007-04-05 18:33:12 +0000
commit16f093924f550889173b5cfaeb0e7aee50ea12d1 (patch)
tree1e110463f08b279ad8f7443c4990fbcbbb859455 /admin
parenta4ba68fca33a1532c95b30eafa5883d21edb96a1 (diff)
downloadcalendar-16f093924f550889173b5cfaeb0e7aee50ea12d1.tar.gz
calendar-16f093924f550889173b5cfaeb0e7aee50ea12d1.tar.bz2
calendar-16f093924f550889173b5cfaeb0e7aee50ea12d1.zip
Added better integration with events at the expense of queries. Will ajaxify sometime soon to reduce the cost. Added p_calendar_view_changes which needs to be on for users to use the calendar the old way.
Diffstat (limited to 'admin')
-rw-r--r--admin/schema_inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index 82b0eb6..58c0129 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -18,6 +18,7 @@ $gBitInstaller->registerPreferences( KERNEL_PKG_NAME, array(
// ### Default User Permissions
$gBitInstaller->registerUserPermissions( CALENDAR_PKG_NAME, array(
array('p_calendar_view', 'Can browse the calendar', 'basic', CALENDAR_PKG_NAME),
+ array('p_calendar_view_changes', 'Can browse content changes in the calendar', 'editor', CALENDAR_PKG_NAME),
) );
// this empty table registration is needed for the installer to pick it up to install the preferences