aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-17 20:54:30 -0700
committerfriendica <info@friendica.com>2014-07-17 20:54:30 -0700
commitb19176169cd93e7aa305296a85e28c8c1c68352b (patch)
treee3e6bb8f78d47d34310ee015a4447612643c2039 /include
parent0cb81714d80e3d51dc4939664425b7d1978b5d06 (diff)
downloadvolse-hubzilla-b19176169cd93e7aa305296a85e28c8c1c68352b.tar.gz
volse-hubzilla-b19176169cd93e7aa305296a85e28c8c1c68352b.tar.bz2
volse-hubzilla-b19176169cd93e7aa305296a85e28c8c1c68352b.zip
provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now.
Diffstat (limited to 'include')
-rw-r--r--include/permissions.php5
1 files changed, 4 insertions, 1 deletions
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();