Commit graph

41 commits

Author SHA1 Message Date
friendica
640dbdf5e9 a bit more cleanup and a bug fix or two for the new private post security model 2014-08-07 17:14:11 -07:00
friendica
b19176169c provide a specific permission for liking profiles (reuse the obsolete bookmark permission), also remove the unused 'unconnected contacts' view for now. 2014-07-17 20:54:30 -07:00
friendica
53217ad9a7 add 'block_public' checking to get_all_perms() and perm_is_allowed() so we have everything related to allowing or denying something in one place. Currently this check is done separately in a huge number of places. Now we can start to remove all the extra checks. A couple of them are still necessary, but most are now redundant. 2014-07-03 19:36:59 -07:00
Alexandre Hannud Abdo
b20887995a 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.
2014-06-19 15:13:32 -03:00
friendica
c1f8eda719 Remove automatic bookmarking - it was a bad idea and just leads to menu clutter. Bookmarks can always be saved manually if desired. 2014-04-30 17:50:06 -07:00
friendica
bf41ccbf35 'anybody in this network' permissions were not being allowed for non-connected channels. 2014-04-09 16:30:03 -07:00
friendica
24d119b8c4 introduce a new privacy level "PERMS_AUTHED" to indicate somebody that is able to successfully authenticate (but is not necessarily in this network). 2014-02-18 20:59:25 -08:00
friendica
d3120264cb more snakebite stuff 2014-02-17 18:23:01 -08:00
friendica
3665bc38ef bookmarking 2014-02-04 16:06:56 -08:00
friendica
d8f16442a1 bookmark permissions 2014-02-04 00:52:34 -08:00
friendica
abb68e846d remove the text "requires compatible chat plugin" 2014-02-02 16:02:04 -08:00
friendica
dffce63662 implement republish permission for use in sourced channels 2013-09-30 21:49:26 -07:00
friendica
20f3d09708 some sane permission defaults. 2013-08-18 20:20:03 -07:00
friendica
f384695e3d more diagnostics 2013-07-15 03:12:51 -07:00
friendica
ee21dfc245 fix "new connection has less permissions than public" 2013-06-15 15:45:54 -07:00
friendica
c21f8c68e3 by default pending connections have no rights 2013-06-06 18:35:37 -07:00
friendica
d72d30fabb more permissions descriptive text to lessen confusion 2013-05-21 17:13:51 -07:00
friendica
f2de266ce6 doc update plus fix the "only to those in my address book" permission 2013-05-18 01:25:54 -07:00
friendica
ea3940c4b0 start formatting for Doxygen 2013-02-25 17:09:40 -08:00
friendica
8a474cbff5 permission plugin hooks 2013-02-19 14:22:10 -08:00
friendica
4f7f547190 why oh why is poco_load not getting called? oh - that's why. 2013-01-24 14:31:57 -08:00
friendica
6e6b268e25 auto permissions (such as for forums or whatever) - untested but might just work 2013-01-23 21:15:40 -08:00
friendica
610dc2823a read/write "pages" permissions and fiddly bits - per Thomas 2013-01-14 16:17:57 -08:00
friendica
3a5fea516a syntax error 2013-01-13 23:16:04 -08:00
friendica
5182d6d820 this should make tag delivery (e.g. forums) work - but not yet fully tested 2013-01-13 18:35:12 -08:00
friendica
f09b9f1e44 add permission controls to "storage" objects such as attachments or other stored files 2012-12-22 03:33:12 -08:00
friendica
7737382378 revamp permissions, blocking a contact takes priority over all other permission settings, such as "allow anybody in network to do xyz". If they're blocked they can't do it. 2012-12-10 20:09:19 -08:00
friendica
b0970850d4 Allow forum/account delegation by anybody? On any site? But of course... 2012-12-10 13:44:54 -08:00
friendica
9a726f0308 finish basic item encoding, add plugin compatibility tag, notes on improving $global_perms for edge cases 2012-11-16 13:57:55 -08:00
friendica
5bf3ddfcf6 got zot 2012-11-12 20:59:18 -08:00
friendica
c1b931549c permissions and contact permissions are now sticky 2012-11-08 17:33:38 -08:00
friendica
4f1170b656 change permission settings from radio buttons to select boxes 2012-11-05 15:26:01 -08:00
friendica
9547e8004d slightly better wording of permission choices 2012-11-02 02:18:52 -07:00
friendica
af9890cd3e consolidate permission arrays 2012-11-02 02:04:07 -07:00
friendica
37653a3760 grrr... hashes aren't matching. 2012-11-01 22:23:13 -07:00
friendica
5c9a68488a bug in get_all_perms 2012-11-01 20:47:32 -07:00
friendica
3bf5677797 settings page channel permissions front-end (needs back-end still) 2012-11-01 19:47:10 -07:00
friendica
78f64c90a3 get permission discovery working - guid sigs were getting truncated in db 2012-10-31 20:53:02 -07:00
friendica
e138876199 fix updating of bitwise 'unseen' to account for mysql operator precedence 2012-10-28 22:08:08 -07:00
friendica
d0d8971a69 start to use our permissions for stuff 2012-10-28 20:01:36 -07:00
friendica
4bcf19632b Now have a solid permissions model. Create a few functions to enumerate them and then we're off to the races. 2012-10-28 18:50:35 -07:00