diff options
author | friendica <info@friendica.com> | 2012-03-28 19:56:14 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-28 19:56:14 -0700 |
commit | 60fe74ce970468be187664198529dbd8d5a01a6c (patch) | |
tree | f82ca4e42eca45536cfae97f4422ba3193c6fcc9 | |
parent | 3f89adfd62dc433bf75d193b84d4cfb47de3358b (diff) | |
download | volse-hubzilla-60fe74ce970468be187664198529dbd8d5a01a6c.tar.gz volse-hubzilla-60fe74ce970468be187664198529dbd8d5a01a6c.tar.bz2 volse-hubzilla-60fe74ce970468be187664198529dbd8d5a01a6c.zip |
network permission ids
-rwxr-xr-x | boot.php | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -95,8 +95,8 @@ define ( 'PAGE_BLOG', 4 ); * Network and protocol family types */ -define ( 'NETWORK_ZOT', 'zot!'); // Zot! define ( 'NETWORK_DFRN', 'dfrn'); // Friendica, Mistpark, other DFRN implementations +define ( 'NETWORK_ZOT', 'zot!'); // Zot! define ( 'NETWORK_OSTATUS', 'stat'); // status.net, identi.ca, GNU-social, other OStatus implementations define ( 'NETWORK_FEED', 'feed'); // RSS/Atom feeds with no known "post/notify" protocol define ( 'NETWORK_DIASPORA', 'dspr'); // Diaspora @@ -108,6 +108,28 @@ define ( 'NETWORK_XMPP', 'xmpp'); // XMPP define ( 'NETWORK_MYSPACE', 'mysp'); // MySpace define ( 'NETWORK_GPLUS', 'goog'); // Google+ +/* + * These numbers are used in stored permissions + * and existing allocations MUST NEVER BE CHANGED + * OR RE-ASSIGNED! You may only add to them. + */ + +$netgroup_ids = array( + NETWORK_DFRN => (-1), + NETWORK_ZOT => (-2), + NETWORK_OSTATUS => (-3), + NETWORK_FEED => (-4), + NETWORK_DIASPORA => (-5), + NETWORK_MAIL => (-6), + NETWORK_MAIL2 => (-7), + NETWORK_FACEBOOK => (-8), + NETWORK_LINKEDIN => (-9), + NETWORK_XMPP => (-10), + NETWORK_MYSPACE => (-11), + NETWORK_GPLUS => (-12), +); + + /** * Maximum number of "people who like (or don't like) this" that we will list by name */ |