Skip to main content

database-restricted-fields

• Why are you restricting db access?

As a means to decrease the chances of any persons of ill intentions from accessing the PII data of our users.

• How do I get access?

Ask a team lead to hook you up. Set up instructions here link

• Which fields are impacted?

👇See the very bottom of the doc

• I get ERROR: permission denied for table [table_name] even though I should have table access!

Certain fields on the table may be restricted. As a result, you can no longer run

SELECT *

Instead, you'll have to individually identify the fields that you want e.g.

SELECT id, sign_in_count FROM users

You can check table permissions by

SELECT permissions('users')

• I need to find a user based on an email!

We have this handy user lookup link You can use it to find the user_id and then any associated data

• I need info from a table I don't have access to!

Data Team has a sweet #data channel on slack to handle data requests!

• #data isn't good enough. I need to consistently access [X] table.

Have a chat with the Data Team. We can work something out.

• What happens when new tables are created?

You'll have access to any new tables immediately. Restrictions will be applied at a later time if deemed necessary.

• Impacted Fields:

Table NameColumn Name
affiliate_infosall
americommerce_installsamericommerce_access_token
americommerce_installsdata
app_form_responsescontent
app_form_responsesresponse
app_form_responsesowner_email
app_form_responsesconfirmation_email
appsexternal_data
appspasswords
beyond_shop_installsaccess_token
beyond_shop_installsdata
bigcommerce_installsdata
bigcommerce_installsbigcommerce_access_token
blog_usersemail
chat_historiesmessage
comments_usersemail
comments_usersoauth_token
comments_usersauth_token
comments_userspassword_hash
comments_userspassword_salt
credit_cardsdata
credit_cardsexternal_id
digital_downloadsurl
digital_downloadstoken
ecommerce_paymentsdata
ecwid_installsecwid_access_token
ecwid_installsdata
emailsemail
emailsold_email
epages_installsdata
epages_installsaccess_token
facebook_pagestoken
facebook_pagespage_id
feedbacksemail
form_uploadskey
hubspot_installsaccess_token
hubspot_installsrefresh_token
jumpseller_installsdata
oauth_access_grantstoken
oauth_access_grantsredirect_uri
oauth_access_grantsapplication_id
oauth_access_grantsresource_owner_id
oauth_access_tokenstoken
oauth_access_tokensrefresh_token
oauth_access_tokensapplication_id
oauth_access_tokensresource_owner_id
oauth_applicationsname
oauth_applicationsuid
oauth_applicationssecret
oauth_applicationsredirect_uri
oauth_applicationsconfidential
oauth_providersuid
oauth_providersuser_id
partner_userspartner_user_data
payment_notificationsdata
pending_eventsaction
pending_transactionsbuyer_email
pending_transactionssend_email
pending_transactionsdata
powrzilla_unsubscriptionsemail_address
raw_shopify_dataall
raw_wix_dataall
review_recordsdata
shopify_installsdata
shopify_installsshopify_access_token
shopify_shopsdata
sms_promosapi_response
snail_mailsapi_response
surge_protectorsall
ticketsdata
ticketscustomer_email
ticketscreated_by
tiny_urlslong_url
transactionsexternal_id
transactionsdata
usersemail
usersfirst_name
userslast_name
usersoauth_token
usersphone
usersaddress_1
usersaddress_2
userslogin_bypass_token
vendasta_installsaccount_id
vendasta_installsreseller_name
vendasta_installspartner_data
versionsall
webhooksurl
weebly_installsweebly_user_id
weebly_installsweebly_site_id
weebly_installsweebly_access_token
weebly_installssite_data
wix_installsrefresh_token
woo_commerce_installsconsumer_key
woo_commerce_installsconsumer_secret
woo_commerce_installsapi_url