Created
December 9, 2013 03:59
-
-
Save toopay/7867224 to your computer and use it in GitHub Desktop.
Rule Access Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return array( | |
| 'task_list' => array( | |
| 'user' => array( | |
| 'create' => 0x00, // 0000 | |
| 'send_message' => 0x01, // 0001 | |
| 'edit_profile' => 0x82, // 10000010 | |
| 'edit_interest_cities' => 0x02, // 0010 | |
| 'edit_interest_event_cat' => 0x02, // 0010 | |
| 'edit_interest_comm_cat' => 0x02, // 0010 | |
| 'edit_photo' => 0x02, // 0010 | |
| 'upload_photo' => 0x02, // 0010 | |
| 'delete_photo' => 0x02, // 0010 | |
| 'delete' => 0x02, // 0010 | |
| 'set_language' => 0x02, // 0010 | |
| 'invitation' => 0x02, // 0010 | |
| 'rsvp' => 0x02, // 0010 | |
| 'spammer' => 0x02, // 0010 | |
| 'inbox' => 0x02, // 0010 | |
| 'outbox' => 0x02, // 0010 | |
| 'proposal' => 0x02, // 0010 | |
| 'create_report' => 0x01, // 0001 | |
| 'preferences' => 0x02, // 0010 | |
| 'create_user_unclaimed' => 0x01, // 0001 | |
| 'create_ads' => 0x01, // 0001 | |
| 'create_comment' => 0x01, // 0001 | |
| 'transact' => 0x01, // 0001 | |
| 'pay' => 0x01, // 0001 | |
| ), | |
| 'public' => array( | |
| 'create' => 0x00, // 00000000 | |
| 'post_signup' => 0x04, // 00000100 | |
| 'send_message' => 0x02, // 00000010 | |
| 'edit_profile' => 0x84, // 10000100 | |
| 'view_interest_cities' => 0x04, // 00000100 | |
| 'edit_interest_cities' => 0x04, // 00000100 | |
| 'view_interest_event_cat' => 0x04, // 00000100 | |
| 'edit_interest_event_cat' => 0x04, // 00000100 | |
| 'view_interest_comm_cat' => 0x04, // 00000100 | |
| 'edit_interest_comm_cat' => 0x04, // 00000100 | |
| 'edit_photo' => 0x44, // 01000100 | |
| 'upload_photo' => 0x44, // 01000100 | |
| 'delete_photo' => 0x44, // 01000100 | |
| 'delete' => 0x04, // 00000100 | |
| 'create_event' => 0x44, // 01000100 | |
| 'set_language' => 0x04, // 00000100 | |
| 'billing_statement' => 0x04, // 00000100 | |
| /* | |
| 'add_balance' => 0x80, | |
| 'deduct_balance' => 0x80, | |
| */ | |
| 'proposal' => 0x04, // 00000100 | |
| 'invitation' => 0x04, // 00000100 | |
| 'rsvp' => 0x04, // 00000100 | |
| 'spammer' => 0x44, // 01000100 | |
| 'inbox' => 0x44, // 01000100 | |
| 'outbox' => 0x44, // 01000100 | |
| 'create_report' => 0x44, // 01000100 | |
| 'preferences' => 0x04, // 00000100 | |
| 'create_user_unclaimed' => 0x44, // 01000100 | |
| 'create_ads' => 0x04, // 00000100 | |
| 'join' => 0x01, // 00000001 | |
| 'set_member' => 0x44, // 01000100 | |
| 'del_member' => 0x44, // 01000100 | |
| 'req_organizer' => 0x10, // 00010000 | |
| 'set_organizer' => 0x04, // 00000100 | |
| 'del_organizer' => 0x04, // 00000100 | |
| 'leave' => 0x78, // 01111000 | |
| 'recruit' => 0x04, // 00000100 | |
| 'edit_alias' => 0x04, // 00000100 | |
| 'delete_alias' => 0x04, // 00000100 | |
| 'status' => 0x44, // 01000100 | |
| 'create_comment' => 0x44, // 01000100 | |
| 'create_newsletter' => 0x44, // 01000100 | |
| 'create_blog' => 0x44, // 01000100 | |
| 'custom_page' => 0x44, // 01000100 | |
| 'transact' => 0x02, // 00000010 | |
| 'pay' => 0x02, // 00000010 | |
| 'like' => 0x79, // 01111001 | |
| 'create_channel' => 0x44, // 01000100 | |
| 'subscribe_channel' => 0x44, // 01000100 | |
| ), | |
| 'public_like' => array( | |
| 'delete' => 0x04, // 00000100 | |
| ), | |
| 'community' => array( | |
| 'create' => 0x81, // 10000001 | |
| 'edit_profile' => 0xb0, // 10110000 | |
| 'delete' => 0x20, // 00100000 | |
| 'join' => 0x01, // 00000001 | |
| 'set_member' => 0xb0, // 10110000 | |
| 'del_member' => 0xb0, // 10110000 | |
| 'req_organizer' => 0x04, // 00000100 | |
| 'set_organizer' => 0xb0, // 10110000 | |
| 'del_organizer' => 0xb0, // 10110000 | |
| 'leave' => 0x3e, // 00111110 | |
| 'edit_photo' => 0x30, // 00110000 | |
| 'upload_photo' => 0x3e, // 00111110 | |
| 'delete_photo' => 0x30, // 00110000 | |
| 'send_message' => 0x3f, // 00111111 | |
| 'create_meetup' => 0xbe, // 10111110 | |
| 'create_event' => 0xb0, // 10110000 | |
| 'sponsor_candidate_list' => 0x30, // 00110000 | |
| 'add_sponsor' => 0x30, // 00110000 | |
| 'proposal' => 0x30, // 00110000 | |
| 'spammer' => 0x20, // 00100000 | |
| 'inbox' => 0x30, // 00110000 | |
| 'edit_alias' => 0xb0, // 10110000 | |
| 'delete_alias' => 0xb0, // 10110000 | |
| 'edit_photo' => 0x30, // 00110000 | |
| 'recruit' => 0xb0, // 10110000 | |
| 'create_user' => 0x30, // 00110000 | |
| 'create_award' => 0x30, // 00110000 | |
| 'status' => 0x30, // 00110000 | |
| 'create_comment' => 0x3e, // 00111110 | |
| 'like' => 0x3f, // 00111111 | |
| 'create_product' => 0x30, // 00110000 | |
| 'preferences' => 0x30, // 00110000 | |
| 'transfer_ownership' => 0x20, // 00100000 | |
| 'broadcast' => 0x30, // 00110000 | |
| 'create_sponsor_product' => 0x30, // 00110000 | |
| 'create_open_donation' => 0x30, // 00110000 | |
| 'create_coupon' => 0x30, // 00110000 | |
| 'create_newsletter' => 0x30, // 00110000 | |
| 'create_blog' => 0x30, // 00110000 | |
| 'custom_page' => 0x30, // 00110000 | |
| 'create_channel' => 0x30, // 00110000 | |
| 'subscribe_channel' => 0x30, // 00110000 | |
| ), | |
| 'community_comment' => array( | |
| 'delete' => 0x1c, //00011100 | |
| ), | |
| 'community_like' => array( | |
| 'delete' => 0x04, // 00000100 | |
| ), | |
| 'community_product' => array( | |
| 'update' => 0x04, // 00000100 | |
| 'delete' => 0x04, // 00000100 | |
| ), | |
| 'community_sponsor' => array( | |
| 'update' => 0x04, // 00000100 | |
| 'delete' => 0x04, // 00000100 | |
| 'upload_logo' => 0x04, // 00000100 | |
| ), | |
| 'community_group' => array( | |
| 'join' => 0x0c, // 00001100 | |
| 'recruit' => 0x30, // 00110000 | |
| 'approve' => 0x40, // 01000000 | |
| 'leave' => 0x7c, // 01111100 | |
| ), | |
| 'community_cover' => array( | |
| 'create' => 0xb0, // 10110000 | |
| 'delete' => 0xb0, // 10110000 | |
| 'activate' => 0xb0, // 10110000 | |
| ), | |
| 'meetup' => array( | |
| 'edit_profile' => 0xb0, // 10110000 | |
| 'delete' => 0x30, // 110000 | |
| 'attending' => 0xb3, // 10110011 | |
| 'cancel' => 0x28, // 101000 | |
| 'set_guest' => 0x30, // 110000 | |
| 'del_guest' => 0x30, // 110000 | |
| 'upload_photo' => 0x3c, // 111100 | |
| 'delete_photo' => 0x30, // 110000 | |
| 'status' => 0x30, // 110000 | |
| 'create_comment' => 0x3f, // 111111 | |
| 'like' => 0x3f, // 111111 | |
| //'expiring' => 0x80, // 10010000 | |
| 'create_award' => 0x30, // 110000 | |
| 'preferences' => 0xb0, // 10110000 | |
| 'view_album' => 0x3e, // 111110 | |
| 'summary' => 0x30, // 110000 | |
| 'review' => 0x3c, // 111100 | |
| 'broadcast' => 0x30, // 110000 | |
| 'create_ticket' => 0x30, // 110000 | |
| 'create_coupon' => 0x30, // 110000 | |
| 'edit_rating' => 0x18, // 011000 | |
| 'delete_rating' => 0x18, // 011000 | |
| 'custom_page' => 0x30, // 110000 | |
| ), | |
| 'meetup_comment' => array( | |
| 'delete' => 0x1c, //00011100 | |
| ), | |
| 'meetup_like' => array( | |
| 'delete' => 0x04, // 00000100 | |
| ), | |
| 'event' => array( | |
| 'edit_profile' => 0xe0, // 11100000 | |
| 'delete' => 0x40, // 01000000 | |
| 'attending' => 0x03, // 00000011 | |
| 'add_guest' => 0xe0, // 11100000 | |
| 'cancel' => 0xF8, // 11111000 | |
| 'set_guest' => 0x60, // 01100000 | |
| 'del_guest' => 0x40, // 01000000 | |
| 'req_organizer' => 0x08, // 00001000 | |
| 'set_organizer' => 0x40, // 01000000 | |
| 'del_organizer' => 0x40, // 01000000 | |
| 'edit_photo' => 0x40, // 01000000 | |
| 'upload_photo' => 0x78, // 01111000 | |
| 'delete_photo' => 0x60, // 01100000 | |
| 'sponsor_candidate_list' => 0x40, // 01000000 | |
| 'add_sponsor' => 0x40, // 01000000 | |
| 'proposal' => 0x40, // 01000000 | |
| 'status' => 0x60, // 01100000 | |
| 'create_comment' => 0x7f, // 01111111 | |
| 'like' => 0x7f, // 01111111 | |
| 'expiring' => 0xc0, // 11000000 | |
| 'create_award' => 0x60, // 01100000 | |
| 'create_product' => 0x40, // 01000000 | |
| 'preferences' => 0xc0, // 11000000 | |
| 'view_album' => 0x7c, // 01111100 | |
| 'edit_alias' => 0x40, // 01000000 | |
| 'delete_alias' => 0x40, // 01000000 | |
| 'summary' => 0x60, // 01100000 | |
| 'review' => 0xF8, // 11111000 | |
| 'broadcast' => 0x60, // 01100000 | |
| 'create_ticket' => 0x60, // 01100000 | |
| 'create_sponsor_product' => 0x60, // 01100000 | |
| 'create_open_donation' => 0x60, // 01100000 | |
| 'create_coupon' => 0x60, // 01100000 | |
| 'edit_alias' => 0xF8, // 11111000 | |
| 'delete_alias' => 0xF8, // 11111000 | |
| 'custom_page' => 0x60, // 01100000 | |
| 'edit_rating' => 0xF8, // 11111000 | |
| 'delete_rating' => 0xF8, // 11111000 | |
| 'add_partner' => 0x60, // 01100000 | |
| ), | |
| 'event_comment' => array( | |
| 'delete' => 0x1c, //00011100 | |
| ), | |
| 'event_like' => array( | |
| 'delete' => 0x04, // 00000100 | |
| ), | |
| 'event_product' => array( | |
| 'update' => 0x04, // 00000100 | |
| 'delete' => 0x04, // 00000100 | |
| ), | |
| 'event_sponsor' => array( | |
| 'update' => 0x04, // 00000100 | |
| 'delete' => 0x04, // 00000100 | |
| 'upload_logo' => 0x04, // 00000100 | |
| ), | |
| 'event_sharing' => array( | |
| 'delete' => 0x0c, // 00001100 | |
| ), | |
| 'event_cover' => array( | |
| 'create' => 0xb0, // 10110000 | |
| 'delete' => 0xb0, // 10110000 | |
| 'activate' => 0xb0, // 10110000 | |
| ), | |
| 'transaction' => array( | |
| 'browse' => 0x82, // 10000010 | |
| 'read' => 0x82, // 10000010 | |
| 'create' => 0x80, // 10000000 | |
| 'delete' => 0x82, // 10000010 | |
| 'paid' => 0x80, // 10000000 | |
| 'cancel' => 0x80, // 10000000 | |
| ), | |
| 'payment' => array( | |
| 'browse' => 0x82, // 10000010 | |
| 'read' => 0x82, // 10000010 | |
| 'create' => 0x80, // 10000000 | |
| 'delete' => 0x82, // 10000010 | |
| 'confirm' => 0x80, // 10000000 | |
| 'reject' => 0x80, // 10000000 | |
| ), | |
| 'proposal' => array( | |
| /*'browse' => 0x80, // 10000000*/ | |
| 'read' => 0x0e, // 00001110 | |
| 'create' => 0x01, // 00000001 | |
| 'update' => 0x0e, // 00001110 | |
| 'delete' => 0x0c, // 00001100 | |
| 'upload_logo' => 0x02, // 00000010 | |
| ), | |
| 'invitation' => array( | |
| 'create' => 0x01, // 00000001 | |
| 'browse' => 0x80, // 10000000 | |
| 'read' => 0x86, // 10000110 | |
| ), | |
| 'message' => array( | |
| 'browse' => 0x01, // 00000001 | |
| 'create' => 0x01, // 00000001 | |
| 'read' => 0x02, // 00000010 | |
| 'delete' => 0x02, // 00000010 | |
| ), | |
| 'user_message' => array( | |
| 'read' => 0x04, // 00000100 | |
| 'delete' => 0x04, // 00000100 | |
| ), | |
| 'bank_account' => array( | |
| 'create' => 0x01, // 00000001 | |
| 'update' => 0x04, // 00000100 | |
| 'delete' => 0x84, // 10000100 | |
| ), | |
| 'public_message' => array( | |
| 'read' => 0x04, // 00000100 | |
| 'delete' => 0x04, // 00000100 | |
| ), | |
| 'community_message' => array( | |
| 'read' => 0x0c, // 00001100 | |
| 'delete' => 0x08, // 00001000 | |
| ), | |
| 'community_award' => array( | |
| 'update' => 0x30, // 00110000 | |
| 'delete' => 0x30, // 00110000 | |
| ), | |
| 'event_award' => array( | |
| 'update' => 0x60, // 01100000 | |
| 'delete' => 0x60, // 01100000 | |
| ), | |
| 'meetup_award' => array( | |
| 'update' => 0x10, // 10000 | |
| 'delete' => 0x10, // 10000 | |
| ), | |
| 'report' => array( | |
| 'delete' => 0x02, // 00000010 | |
| ), | |
| 'feed' => array( | |
| 'delete' => 0x02, // 00000010 | |
| ), | |
| 'feed_comment' => array( | |
| 'delete' => 0x0c, // 00001100 | |
| ), | |
| 'channel' => array( | |
| 'read' => 0x8e, // 10001110 | |
| 'update' => 0x8c, // 10001100 | |
| 'delete' => 0x8c, // 10001100 | |
| 'add_subscriber' => 0x8c, // 10001100 | |
| ), | |
| 'channel_subscriber' => array( | |
| 'delete' => 0x8c, // 10001100 | |
| ), | |
| 'product' => array( | |
| 'create' => 0x80, // 10000000 | |
| 'update' => 0xbc, // 10111100 | |
| 'delete' => 0xbc, // 10111100 | |
| ), | |
| 'product_coupon' => array( | |
| 'create' => 0x80, // 10000000 | |
| 'update' => 0xb8, // 10111000 | |
| 'delete' => 0xb8, // 10111000 | |
| 'browse' => 0xb8, // 10111000 | |
| 'read' => 0xb8, // 10111000 | |
| ), | |
| 'featured' => array( | |
| //'browse' => 0xbf, // 10111111 | |
| 'read' => 0xbe, // 10111110 | |
| 'create' => 0x80, // 10000000 | |
| 'update' => 0x80, // 10000000 | |
| 'delete' => 0x80, // 10000000 | |
| 'activate' => 0x80, // 10000000 | |
| 'cancel' => 0x80, // 10000000 | |
| 'expiring' => 0x80, // 10000000 | |
| ), | |
| 'ticket' => array( | |
| 'browse' => 0xb2, // 10110010 // masih membingungkan | |
| 'read' => 0xb2, // 10110010 | |
| 'create' => 0x80, // 10000000 | |
| 'update' => 0xb2, // 10110010 | |
| 'delete' => 0x80, // 10000000 | |
| 'activate' => 0x80, // 10000000 | |
| 'cancel' => 0xb0, // 10110000 | |
| 'expiring' => 0x80, // 10000000 | |
| ), | |
| 'sponsor' => array( | |
| //'browse' => 0x9b, // 10011011 | |
| 'read' => 0x9a, // 10011010 | |
| 'create' => 0x80, // 10000000 | |
| 'update' => 0x98, // 10011000 | |
| 'delete' => 0x80, // 10000000 | |
| 'activate' => 0x80, // 10000000 | |
| 'cancel' => 0x98, // 10011000 | |
| 'expiring' => 0x80, // 10000000 | |
| ), | |
| 'ads' => array( | |
| //'browse' => 0x83, // 10000011 | |
| 'read' => 0x82, // 10000010 | |
| 'create' => 0x80, // 10000000 | |
| 'update' => 0x80, // 10000000 | |
| 'delete' => 0x80, // 10000000 | |
| 'activate' => 0x80, // 10000000 | |
| 'cancel' => 0x80, // 10000000 | |
| 'expiring' => 0x80, // 10000000 | |
| ), | |
| 'newsletter' => array( | |
| 'update' => 0x02, // 00000010 | |
| 'delete' => 0x02, // 00000010 | |
| ), | |
| 'blog' => array( | |
| 'update' => 0x02, // 00000010 | |
| 'delete' => 0x02, // 00000010 | |
| ), | |
| ), | |
| 'group_list' => array( | |
| 'user' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_me' => 0x02, // 00000010 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'public' => array( | |
| 'is_login_user' => 0x01, // 00000001 | |
| 'is_login_public' => 0x02, // 00000010 | |
| 'is_me' => 0x04, // 00000100 | |
| 'is_pre_member' => 0x08, // 00001000 | |
| 'is_member' => 0x10, // 00010000 | |
| 'is_pending_organizer' => 0x20, // 00100000 | |
| 'is_approve_organizer' => 0x40, // 01000000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'public_like' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'community' => array( | |
| /* | |
| 'is_login_user' => 0x01, // 00000001 | |
| 'is_member' => 0x02, // 00000010 | |
| 'is_pending_organizer' => 0x04, // 00000100 | |
| 'is_approve_organizer' => 0x08, // 00001000 | |
| 'is_creator' => 0x10, // 00010000 | |
| 'is_system' => 0x80, // 10000000 | |
| */ | |
| 'is_login_user' => 0x01, // 00000001 | |
| 'is_pre_member' => 0x02, // 00000010 | |
| 'is_member' => 0x04, // 00000100 | |
| 'is_pending_organizer' => 0x08, // 00001000 | |
| 'is_approve_organizer' => 0x10, // 00010000 | |
| 'is_creator' => 0x20, // 00100000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'community_like' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'community_comment' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_parent_creator' => 0x08, // 00001000 | |
| 'is_community_creator' => 0x10, // 00010000 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'community_product' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'community_sponsor' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'community_group' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_child_organizer' => 0x04, // 00000100 | |
| 'is_child_creator' => 0x08, // 00001000 | |
| 'is_parent_organizer' => 0x10, // 00010000 | |
| 'is_parent_creator' => 0x20, // 00100000 | |
| 'is_approver' => 0x40, // 01000000 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'community_cover' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_approve_organizer' => 0x10, // 00010000 | |
| 'is_creator' => 0x20, // 00100000 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'meetup' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_related' => 0x02, // 00000010 | |
| 'is_register' => 0x04, // 00000100 | |
| 'is_guest' => 0x08, // 00001000 | |
| 'is_creator' => 0x10, // 00010000 | |
| 'is_inherit' => 0x20, // 00100000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'meetup_like' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'meetup_comment' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_parent_creator' => 0x08, // 00001000 | |
| 'is_meetup_creator' => 0x10, // 00010000 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'event' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_related' => 0x02, // 00000010 | |
| 'is_register' => 0x04, // 00000100 | |
| 'is_guest' => 0x08, // 00001000 | |
| 'is_pending_organizer' => 0x10, // 00010000 | |
| 'is_approve_organizer' => 0x20, // 00100000 | |
| 'is_creator' => 0x40, // 01000000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'event_comment' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_parent_creator' => 0x08, // 00001000 | |
| 'is_event_creator' => 0x10, // 00010000 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'event_like' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'event_product' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'event_sponsor' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'event_sharing' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_partner' => 0x08, // 00001000 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'event_cover' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_approve_organizer' => 0x10, // 00010000 | |
| 'is_creator' => 0x20, // 00100000 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'transaction' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'payment' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'proposal' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| 'is_event_creator' => 0x04, // 00000100 | |
| 'is_community_creator' => 0x08, // 00001000 | |
| // 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'invitation' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| 'is_recipient' => 0x04, // 00000100 | |
| //'is_system' => 0x80, // 10000000 | |
| ), | |
| 'message' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| /*'is_recipient' => 0x04, // 00000100*/ | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'user_message' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_recipient' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'bank_account' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'public_message' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_recipient' => 0x04, // 00000100 | |
| 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'community_message' => array( | |
| 'is_login_user' => 0x01, // 00000001 | |
| 'is_recipient' => 0x04, // 00000100 | |
| 'is_editor' => 0x08, // 00001000 | |
| //'is_system' => 0x80, // 10000000 | |
| ), | |
| 'community_award' => array( | |
| 'is_approve_organizer' => 0x10, // 01000 | |
| 'is_creator' => 0x20, // 10000 | |
| ), | |
| 'meetup_award' => array( | |
| 'is_creator' => 0x10, // 10000 | |
| ), | |
| 'event_award' => array( | |
| 'is_approve_organizer' => 0x20, // 00100000 | |
| 'is_creator' => 0x40, // 01000000 | |
| ), | |
| 'report' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| // 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'feed' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_related' => 0x02, // 00000010 | |
| ), | |
| 'feed_comment' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x04, // 00000100 | |
| 'is_group_admin' => 0x08, // 00001000 | |
| ), | |
| 'channel' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_related' => 0x02, // 00000010 | |
| 'is_public_admin' => 0x04, // 00000100 | |
| 'is_community_admin' => 0x08, // 00001000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'channel_subscriber' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_subscriber_admin' => 0x04, // 00000100 | |
| 'is_channel_admin' => 0x08, // 00001000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'product' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_public_admin' => 0x04, // 00000100 | |
| 'is_community_admin' => 0x08, // 00001000 | |
| 'is_event_admin' => 0x10, // 00010000 | |
| 'is_meetup_admin' => 0x20, // 00100000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'product_coupon' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_public_admin' => 0x04, // 00000100 | |
| 'is_community_admin' => 0x08, // 00001000 | |
| 'is_event_admin' => 0x10, // 00010000 | |
| 'is_meetup_admin' => 0x20, // 00100000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'featured' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| 'is_public_admin' => 0x04, // 00000100 | |
| 'is_community_admin' => 0x08, // 00001000 | |
| 'is_event_admin' => 0x10, // 00010000 | |
| 'is_meetup_admin' => 0x20, // 00100000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'ticket' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| 'is_event_admin' => 0x10, // 00010000 | |
| 'is_meetup_admin' => 0x20, // 00100000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'sponsor' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| 'is_community_admin' => 0x08, // 00001000 | |
| 'is_event_admin' => 0x10, // 00010000 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'ads' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| 'is_admin' => 0x80, // 10000000 | |
| ), | |
| 'newsletter' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| // 'is_system' => 0x80, // 10000000 | |
| ), | |
| 'blog' => array( | |
| 'is_login' => 0x01, // 00000001 | |
| 'is_creator' => 0x02, // 00000010 | |
| // 'is_system' => 0x80, // 10000000 | |
| ), | |
| ), | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment