aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-13 15:42:30 -0700
committerfriendica <info@friendica.com>2013-10-13 15:42:30 -0700
commit1354702d690add3c6ff0c331a190ef3004f7d48c (patch)
tree8c2469413dbdcbae9fa00ea2be982cfec44ee690 /mod
parentbb9feee370fc9eefc6b6dc79d561c30de4a37ec1 (diff)
downloadvolse-hubzilla-1354702d690add3c6ff0c331a190ef3004f7d48c.tar.gz
volse-hubzilla-1354702d690add3c6ff0c331a190ef3004f7d48c.tar.bz2
volse-hubzilla-1354702d690add3c6ff0c331a190ef3004f7d48c.zip
remove the disabled flag on individual permissions and improve the text to show that settings may be inherited. The reason for this change is that we want the individual settings to be stored regardless of the inherited settings, because if somebody changes the higher precedence privacy settings it could leave all their existing contacts with no permissions and this could be a support nightmare.
So this way if somebody starts off with "anybody on the network can send me their stream and posts" and later changes it to "only specific connections can send me their stream and posts", the individual setting will already be set for all their connections. The previous behaviour is that this setting would have been disabled so none of their existing connections will have this specific permission. Old-timers who were here and made lots of connections before this commit - will have to edit all their connections if they change their privacy settings from lesser restrictive to be more restrictive.
Diffstat (limited to 'mod')
-rw-r--r--mod/connections.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/connections.php b/mod/connections.php
index 95fc18174..bcb78f138 100644
--- a/mod/connections.php
+++ b/mod/connections.php
@@ -422,6 +422,7 @@ function connections_content(&$a) {
'$tab_str' => $tab_str,
'$is_pending' => (($contact['abook_flags'] & ABOOK_FLAG_PENDING) ? 1 : ''),
'$unapproved' => $unapproved,
+ '$inherited' => t('inherited'),
'$approve' => t('Approve this connection'),
'$noperms' => (((! $self) && (! $contact['abook_my_perms'])) ? t('Connection has no individual permissions!') : ''),
'$noperm_desc' => (((! $self) && (! $contact['abook_my_perms'])) ? t('This may be appropriate based on your <a href="settings">privacy settings</a>, though you may wish to review the "Advanced Permissions".') : ''),
@@ -440,7 +441,7 @@ function connections_content(&$a) {
'$cautious' => t('Cautious Sharing'),
'$follow' => t('Follow Only'),
'$permlbl' => t('Individual Permissions'),
- '$permnote' => t('Individual permissions are only enabled for <a href="settings">privacy settings</a> which are set to "Only those you specifically allow". Otherwise they are controlled by your privacy settings.'),
+ '$permnote' => t('Some permissions may be inherited from your <a href="settings">privacy settings</a>, which have higher priority. Changing those on this page will have no effect.'),
'$advanced' => t('Advanced Permissions'),
'$quick' => t('Quick Links'),
'$common_link' => $a->get_baseurl(true) . '/common/loc/' . local_user() . '/' . $contact['id'],