diff options
author | friendica <info@friendica.com> | 2012-10-28 18:50:35 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-10-28 18:50:35 -0700 |
commit | 4bcf19632bc5158095a5d2d5d63dea1b25b146b7 (patch) | |
tree | 362ccfbd661b779bd864fa6c7416c9a7b1c15069 /mod | |
parent | 1a9ab127482ee4eb17e3d2bd0ffa222f7053715b (diff) | |
download | volse-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')
-rw-r--r-- | mod/item.php | 2 |
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(); |