provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now.

This commit is contained in:
friendica
2014-07-17 20:54:30 -07:00
parent 0cb81714d8
commit b19176169c
9 changed files with 56 additions and 28 deletions

View File

@@ -149,7 +149,7 @@ function like_content(&$a) {
$perms = get_all_perms($owner_uid,$observer['xchan_hash']);
if(! ($perms['post_wall'] && $perms['view_profile'])) {
if(! ($perms['post_like'] && $perms['view_profile'])) {
if($interactive) {
notice( t('Permission denied.') . EOL);
return $o;