diff options
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 56 |
1 files changed, 56 insertions, 0 deletions
@@ -173,6 +173,62 @@ define ( 'PERMS_FRIEND', PERMS_VISIBLE|PERMS_TRANSMIT|PERMS_RECEIVE| define ( 'PERMS_COMMUNITY', PERMS_VISIBLE|PERMS_RECEIVE|PERMS_COMMENT|PERMS_POSTWALL|PERMS_TAGWALL| PERMS_SEEABOOK|PERMS_SEEPERMS); // Public group profile +// General channel permissions + + +define ( 'PERMS_PUBLIC_VIEW_STREAM' , 0x00000001 ); +define ( 'PERMS_SERVICE_VIEW_STREAM' , 0x00000002 ); +define ( 'PERMS_SITE_VIEW_STREAM' , 0x00000004 ); +define ( 'PERMS_CONTACTS_VIEW_STREAM' , 0x00000008 ); +define ( 'PERMS_SPECIFIC_VIEW_STREAM' , 0x00000010 ); + +define ( 'PERMS_PUBLIC_VIEW_PROFILE' , 0x00000020 ); +define ( 'PERMS_SERVICE_VIEW_PROFILE' , 0x00000040 ); +define ( 'PERMS_SITE_VIEW_PROFILE' , 0x00000080 ); +define ( 'PERMS_CONTACTS_VIEW_PROFILE' , 0x00000100 ); +define ( 'PERMS_SPECIFIC_VIEW_PROFILE' , 0x00000200 ); + +define ( 'PERMS_PUBLIC_VIEW_PHOTOS' , 0x00000400 ); +define ( 'PERMS_SERVICE_VIEW_PHOTOS' , 0x00000800 ); +define ( 'PERMS_SITE_VIEW_PHOTOS' , 0x00001000 ); +define ( 'PERMS_CONTACTS_VIEW_PHOTOS' , 0x00002000 ); +define ( 'PERMS_SPECIFIC_VIEW_PHOTOS' , 0x00004000 ); + +define ( 'PERMS_PUBLIC_VIEW_CONTACTS' , 0x00008000 ); +define ( 'PERMS_SERVICE_VIEW_CONTACTS' , 0x00010000 ); +define ( 'PERMS_SITE_VIEW_CONTACTS' , 0x00020000 ); +define ( 'PERMS_CONTACTS_VIEW_CONTACTS' , 0x00040000 ); +define ( 'PERMS_SPECIFIC_VIEW_CONTACTS' , 0x00080000 ); + +define ( 'PERMS_PUBLIC_POST_STREAM' , 0x00000001 ); +define ( 'PERMS_SERVICE_POST_STREAM' , 0x00000002 ); +define ( 'PERMS_SITE_POST_STREAM' , 0x00000004 ); +define ( 'PERMS_CONTACTS_POST_STREAM' , 0x00000008 ); +define ( 'PERMS_SPECIFIC_POST_STREAM' , 0x00000010 ); + +define ( 'PERMS_PUBLIC_POST_WALL' , 0x00000020 ); +define ( 'PERMS_SERVICE_POST_WALL' , 0x00000040 ); +define ( 'PERMS_SITE_POST_WALL' , 0x00000080 ); +define ( 'PERMS_CONTACTS_POST_WALL' , 0x00000100 ); +define ( 'PERMS_SPECIFIC_POST_WALL' , 0x00000200 ); + + +define ( 'PERMS_PUBLIC_POST_COMMENTS' , 0x00000400 ); +define ( 'PERMS_SERVICE_POST_COMMENTS' , 0x00000800 ); +define ( 'PERMS_SITE_POST_COMMENTS' , 0x00001000 ); +define ( 'PERMS_CONTACTS_POST_COMMENTS' , 0x00002000 ); +define ( 'PERMS_SPECIFIC_POST_COMMENTS' , 0x00004000 ); + +define ( 'PERMS_PUBLIC_POST_MAIL' , 0x00008000 ); +define ( 'PERMS_SERVICE_POST_MAIL' , 0x00010000 ); +define ( 'PERMS_SITE_POST_MAIL' , 0x00020000 ); +define ( 'PERMS_CONTACTS_POST_MAIL' , 0x00040000 ); +define ( 'PERMS_SPECIFIC_POST_MAIL' , 0x00080000 ); + +define ( 'DEFAULT_VIEW_PERMS', PERMS_SPECIFIC_VIEW_STREAM | PERMS_SPECIFIC_VIEW_PROFILE | PERMS_SPECIFIC_VIEW_PHOTOS | PERMS_SPECIFIC_VIEW_CONTACTS ); + +define ( 'DEFAULT_POST_PERMS', PERMS_SPECIFIC_POST_STREAM | PERMS_SPECIFIC_POST_WALL | PERMS_SPECIFIC_POST_COMMENTS | PERMS_SPECIFIC_POST_MAIL ); + /** * Maximum number of "people who like (or don't like) this" that we will list by name */ |