ID Vision Phase 2: Standardize Page, Post, Person, Organization, and Hosted File objects
This commit is contained in:
@@ -19,9 +19,11 @@ cms_obj_li = {
|
||||
'base_name': Page_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'page_id_random', 'account_id_random', 'site_id_random', 'name',
|
||||
'title', 'description', 'content_html', 'enable', 'hide',
|
||||
'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
'id', 'account_id', 'site_id',
|
||||
'page_id_random', 'account_id_random', 'site_id_random',
|
||||
'code', 'name', 'title', 'description', 'content_html',
|
||||
'enable', 'hide', 'priority', 'sort', 'group', 'notes',
|
||||
'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
'post': {
|
||||
@@ -46,6 +48,7 @@ cms_obj_li = {
|
||||
],
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'id', 'account_id', 'person_id', 'user_id',
|
||||
'post_id_random', 'account_id_random', 'organization_id_random',
|
||||
'person_id_random', 'user_id_random', 'external_person_id', 'title', 'content',
|
||||
'type_code', 'topic_code', 'category_code', 'tags', 'location',
|
||||
@@ -75,6 +78,7 @@ cms_obj_li = {
|
||||
],
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'id', 'post_id', 'person_id', 'user_id', 'account_id',
|
||||
'post_comment_id_random', 'account_id_random', 'post_id_random',
|
||||
'person_id_random', 'user_id_random', 'content', 'enable', 'hide',
|
||||
'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
|
||||
@@ -47,7 +47,8 @@ core_obj_li = {
|
||||
'base_name': Account_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'account_id_random', 'code', 'name', 'short_name', 'description',
|
||||
'id', 'account_id', 'id_random', 'account_id_random',
|
||||
'code', 'name', 'short_name', 'description',
|
||||
'enable', 'hide', 'priority', 'sort', 'group', 'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
@@ -65,7 +66,7 @@ core_obj_li = {
|
||||
'base_name': Account_Cfg_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'account_cfg_id_random', 'account_id_random', 'account_code',
|
||||
'id', 'account_id', 'account_cfg_id_random', 'account_id_random', 'account_code',
|
||||
'account_name', 'account_short_name', 'default_no_reply_email',
|
||||
'default_no_reply_name', 'confirm_email', 'help_event_email',
|
||||
'help_general_email', 'help_tech_email', 'stripe_account_id',
|
||||
@@ -86,9 +87,9 @@ core_obj_li = {
|
||||
'base_name': Address_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'address_id_random', 'account_id_random', 'for_type', 'for_id_random',
|
||||
'contact_id_random', 'name', 'attention_to', 'organization_name',
|
||||
'line_1', 'line_2', 'line_3', 'city', 'country_subdivision_code',
|
||||
'id', 'account_id', 'contact_id', 'address_id_random', 'account_id_random',
|
||||
'for_type', 'for_id_random', 'contact_id_random', 'name', 'attention_to',
|
||||
'organization_name', 'line_1', 'line_2', 'line_3', 'city', 'country_subdivision_code',
|
||||
'country_subdivision_name', 'state_province', 'postal_code',
|
||||
'country_alpha_2_code', 'country_name', 'timezone',
|
||||
'enable', 'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
@@ -108,7 +109,7 @@ core_obj_li = {
|
||||
'base_name': Contact_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'contact_id_random', 'account_id_random', 'for_type', 'for_id_random',
|
||||
'id', 'account_id', 'contact_id_random', 'account_id_random', 'for_type', 'for_id_random',
|
||||
'name', 'title', 'tagline', 'description', 'timezone_name',
|
||||
'email', 'email_status', 'phone_mobile', 'phone_office',
|
||||
'website_url', 'website_name', 'enable', 'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
@@ -128,6 +129,7 @@ core_obj_li = {
|
||||
'base_name': Data_Store_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'id', 'account_id', 'person_id', 'user_id',
|
||||
'data_store_id_random', 'account_id_random', 'for_type', 'for_id_random',
|
||||
'person_id_random', 'user_id_random', 'code', 'name', 'description',
|
||||
'type', 'text', 'meta_text', 'access', 'enable', 'hide', 'priority',
|
||||
@@ -148,6 +150,7 @@ core_obj_li = {
|
||||
'base_name': Organization_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'id', 'account_id', 'contact_id', 'person_id', 'user_id',
|
||||
'organization_id_random', 'account_id_random', 'contact_id_random',
|
||||
'person_id_random', 'user_id_random', 'name', 'tagline', 'description',
|
||||
'company', 'nonprofit', 'enable', 'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
@@ -174,14 +177,15 @@ core_obj_li = {
|
||||
],
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'id', 'account_id', 'contact_id', 'organization_id', 'user_id', 'membership_person_id',
|
||||
'person_id_random', 'account_id_random', 'contact_id_random',
|
||||
'organization_id_random', 'user_id_random', 'membership_person_id_random',
|
||||
'pronouns', 'informal_name', 'title_names', 'given_name', 'middle_name',
|
||||
'title_names', 'given_name', 'middle_name',
|
||||
'family_name', 'designations', 'professional_title', 'full_name',
|
||||
'informal_full_name', 'professional_full_name', 'affiliations',
|
||||
'primary_email', 'tagline', 'lu_gender_name', 'source_code',
|
||||
'informal_full_name', 'affiliations',
|
||||
'primary_email', 'tagline', 'source_code',
|
||||
'external_id', 'status', 'hide', 'priority', 'sort', 'group', 'enable', 'notes',
|
||||
'created_on', 'updated_on', 'username', 'user_name', 'user_email'
|
||||
'created_on', 'updated_on', 'username', 'user_name'
|
||||
],
|
||||
},
|
||||
'user': {
|
||||
@@ -205,6 +209,7 @@ core_obj_li = {
|
||||
],
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'id', 'account_id', 'contact_id', 'organization_id', 'person_id',
|
||||
'user_id_random', 'account_id_random', 'contact_id_random',
|
||||
'organization_id_random', 'person_id_random', 'username', 'name',
|
||||
'email', 'enable', 'super', 'manager', 'administrator', 'public',
|
||||
@@ -219,7 +224,7 @@ core_obj_li = {
|
||||
'base_name': User_Role_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'user_id_random', 'for_type', 'for_id_random', 'code', 'name',
|
||||
'id', 'user_id', 'user_id_random', 'for_type', 'for_id_random', 'code', 'name',
|
||||
'description', 'enable', 'notes', 'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
@@ -231,6 +236,7 @@ core_obj_li = {
|
||||
'base_name': Log_Client_Viewing_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'id', 'account_id', 'person_id', 'user_id',
|
||||
'log_client_viewing_id_random', 'account_id_random', 'person_id_random',
|
||||
'user_id_random', 'external_client_id', 'name', 'source', 'url_root',
|
||||
'url_full_path', 'object_type', 'object_id', 'created_on', 'updated_on'
|
||||
|
||||
@@ -134,9 +134,10 @@ other_obj_li = {
|
||||
],
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'hosted_file_id_random', 'account_id_random', 'hash_sha256', 'title',
|
||||
'description', 'filename', 'extension', 'content_type', 'enable',
|
||||
'hide', 'priority', 'sort', 'group', 'notes', 'created_on', 'updated_on'
|
||||
'id', 'account_id', 'hosted_file_id_random', 'account_id_random',
|
||||
'hash_sha256', 'title', 'description', 'filename', 'extension',
|
||||
'content_type', 'enable', 'hide', 'priority', 'sort', 'group',
|
||||
'notes', 'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
'hosted_file_link': {
|
||||
@@ -153,8 +154,9 @@ other_obj_li = {
|
||||
'base_name': Hosted_File_Link_Base,
|
||||
# V3 Search Security:
|
||||
'searchable_fields': [
|
||||
'id', 'account_id_random', 'hosted_file_id_random', 'link_to_type',
|
||||
'link_to_id_random', 'created_on', 'updated_on'
|
||||
'id', 'account_id', 'hosted_file_id', 'account_id_random',
|
||||
'hosted_file_id_random', 'link_to_type', 'link_to_id_random',
|
||||
'created_on', 'updated_on'
|
||||
],
|
||||
},
|
||||
'stripe_log': {
|
||||
|
||||
Reference in New Issue
Block a user