From 4bcf19632bc5158095a5d2d5d63dea1b25b146b7 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 28 Oct 2012 18:50:35 -0700 Subject: Now have a solid permissions model. Create a few functions to enumerate them and then we're off to the races. --- mod/item.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mod') diff --git a/mod/item.php b/mod/item.php index 98541b570..1373f48b6 100644 --- a/mod/item.php +++ b/mod/item.php @@ -28,6 +28,8 @@ function item_post(&$a) { if((! local_user()) && (! remote_user()) && (! x($_REQUEST,'commenter'))) return; + logger('get_perms: ' . print_r($a->get_perms(),true)); + require_once('include/security.php'); $uid = local_user(); -- cgit v1.2.3