start to whip the permissions into shape, also got rid of the mce drop shadow until we can figure out how to do it without the ugly black bars. I tend to prefer "outy" shadows over "inny" shadows anyway, but maybe that's just me.

This commit is contained in:
friendica
2012-12-09 18:07:36 -08:00
parent 7f77670649
commit f8c33243bf
8 changed files with 45 additions and 137 deletions

View File

@@ -28,10 +28,12 @@ function subthread_content(&$a) {
$item = $r[0];
$owner_uid = $item['uid'];
$observer = $a->get_observer();
$ob_hash = (($observer) ? $observer['xchan_hash'] : '');
if(! can_write_wall($a,$owner_uid)) {
if(! perm_is_allowed($owner_uid,$ob_hash,'post_comments'))
return;
}
$remote_owner = null;