From b19176169cd93e7aa305296a85e28c8c1c68352b Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 17 Jul 2014 20:54:30 -0700 Subject: provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now. --- include/permissions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/permissions.php') diff --git a/include/permissions.php b/include/permissions.php index 9fded3b43..facba037f 100644 --- a/include/permissions.php +++ b/include/permissions.php @@ -20,9 +20,11 @@ function get_perms() { // Write permissions 'send_stream' => array('channel_w_stream', intval(PERMS_W_STREAM), false, t('Can send me their channel stream and posts'), ''), 'post_wall' => array('channel_w_wall', intval(PERMS_W_WALL), false, t('Can post on my channel page ("wall")'), ''), - 'post_comments' => array('channel_w_comment', intval(PERMS_W_COMMENT), false, t('Can comment on my posts'), ''), + 'post_comments' => array('channel_w_comment', intval(PERMS_W_COMMENT), false, t('Can comment on or like my posts'), ''), 'post_mail' => array('channel_w_mail', intval(PERMS_W_MAIL), false, t('Can send me private mail messages'), ''), 'post_photos' => array('channel_w_photos', intval(PERMS_W_PHOTOS), false, t('Can post photos to my photo albums'), ''), + 'post_like' => array('channel_w_like', intval(PERMS_W_LIKE), false, t('Can like/dislike stuff'), 'Profiles and things other than posts/comments'), + 'tag_deliver' => array('channel_w_tagwall', intval(PERMS_W_TAGWALL), false, t('Can forward to all my channel contacts via post @mentions'), t('Advanced - useful for creating group forum channels')), 'chat' => array('channel_w_chat', intval(PERMS_W_CHAT), false, t('Can chat with me (when available)'), t('')), 'write_storage' => array('channel_w_storage', intval(PERMS_W_STORAGE), false, t('Can write to my "public" file storage'), ''), @@ -395,6 +397,7 @@ function site_default_perms() { 'write_storage' => 0, 'write_pages' => 0, 'delegate' => 0, + 'post_like' => PERMS_NETWORK ); $global_perms = get_perms(); -- cgit v1.2.3