aboutsummaryrefslogtreecommitdiffstats
path: root/mod/item.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-28 18:50:35 -0700
committerfriendica <info@friendica.com>2012-10-28 18:50:35 -0700
commit4bcf19632bc5158095a5d2d5d63dea1b25b146b7 (patch)
tree362ccfbd661b779bd864fa6c7416c9a7b1c15069 /mod/item.php
parent1a9ab127482ee4eb17e3d2bd0ffa222f7053715b (diff)
downloadvolse-hubzilla-4bcf19632bc5158095a5d2d5d63dea1b25b146b7.tar.gz
volse-hubzilla-4bcf19632bc5158095a5d2d5d63dea1b25b146b7.tar.bz2
volse-hubzilla-4bcf19632bc5158095a5d2d5d63dea1b25b146b7.zip
Now have a solid permissions model. Create a few functions to enumerate them and then we're off to the races.
Diffstat (limited to 'mod/item.php')
-rw-r--r--mod/item.php2
1 files changed, 2 insertions, 0 deletions
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();