I know that if the user doesn't have permission to download, a grayed out download button is displayed. I would like to conditionally remove the download button if the user doesn't have permission as this would allow me to also remove a table cell that holds it.
I also know that we can use {if XXsomeVariable} and {endif XXsomeVariable} to do this with database elements and I do this for some things.
Is there any way to do this for the download button?