How to not download hidden columns and login as an end user

we need ids of objects, but for end user he or she does not need to see them, when they download the result, they get hidden columns too.

  1. is it possible to impede that?
  2. is it possible to log in as an end user to check whether some certain user is not able to access the data?

when you say 'end-user' are you refering to the Retool defined 'end-user'? as in, a member of an org who has not built/edited an app or workflow during the current billing period?

on the Team plan I think the only thing you can do is try and use are:

  • config vars. these values are based on the env (like passwords for dev/prod env)
  • env vars
  • Secret Managers like aws and vault. on the Enterprise plan you can also use source control to protect apps, resources, queries and workflows

the easiest ways are with the Business or Enterprise plans. depending on if you want to:

1 Like

hi @bobthebear,

end user has only view access, no right to change anything.

  1. in our apps end-user does not see the ids, which is assigned automatically in DB. in our queries we are getting it for other reason. in result table we are hiding them. but when the user downloads the table, the user gets hidden columns too. we want to only let the user to download what the user sees.

  2. we are using container to use tab to show the datas. sometimes we want to let the end-user to able to see only some tabs, not whole page. in this case we create a limited group to show only some tabs. in this situation we need to cross check, wheter the end-use is able to access whole page or some certain determined tabs.

Hi @halil,

Do you have "include hidden columns" checked on in the download event handler? It is on by default, but it can be un-checked:

2 Likes

many thanks Tess.
i was using the following one, that is why i did not see that option.

aaannnnddd there's my weekly lesson about a button I never noticed! :laughing: thanks @Tess!

1 Like