diff options
author | Alexandre Hannud Abdo <abdo@member.fsf.org> | 2014-06-17 04:26:18 -0300 |
---|---|---|
committer | Alexandre Hannud Abdo <abdo@member.fsf.org> | 2014-06-19 15:13:32 -0300 |
commit | b20887995a2b3277659e01d99ae4de238f7175ef (patch) | |
tree | b0513171eccb338c55b7d1a50da0f67e6e8b6f65 /mod | |
parent | c012c648e0691868370a5a8c1eb468020fef6330 (diff) | |
download | volse-hubzilla-b20887995a2b3277659e01d99ae4de238f7175ef.tar.gz volse-hubzilla-b20887995a2b3277659e01d99ae4de238f7175ef.tar.bz2 volse-hubzilla-b20887995a2b3277659e01d99ae4de238f7175ef.zip |
Implements a new permission level PERMS_PENDING
With this a user can allow some action to any user which connects
to them, even before they've connected back.
Ref.
https://mobiliza.org.br/display/478d9e71eaf55748dc646d3990651d6d34cfb7db5c38360538ec730ca3ccf908@zothub.com
Also some code cleanup and an alternative logic for handling
notifications of permission changes in zot.php.
This assumes that private posts are still restricted to people in
your addressbook. Regardless of your global permissions, a
pending channel won't get private posts, even if the post
only has a deny clause not matching the pending channel.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/settings.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php index bdf30bae2..c72fdc8c4 100644 --- a/mod/settings.php +++ b/mod/settings.php @@ -792,7 +792,8 @@ function settings_content(&$a) { $perm_opts = array( array( t('Nobody except yourself'), 0), array( t('Only those you specifically allow'), PERMS_SPECIFIC), - array( t('Anybody in your address book'), PERMS_CONTACTS), + array( t('Approved connections'), PERMS_CONTACTS), + array( t('Any connections'), PERMS_PENDING), array( t('Anybody on this website'), PERMS_SITE), array( t('Anybody in this network'), PERMS_NETWORK), array( t('Anybody authenticated'), PERMS_AUTHED), |