3 Replies Latest reply on Jul 1, 2018 9:20 PM by kamesh vk

    Applying username function to restrict access

    kamesh vk



      I have created a username() function to restrict access based on a column coming from data source, something like  username()  = [ Employee ID ]


      I have added this calculation in the filter and set it to True. Now, in the Tableau desktop in the bottom-right corner of the workspace, I have changed the name to someone who is part of the datasource column ( employee id ) and noticed that the person is only able to see data that he belongs to. So, the objective is achieved in Tableau Desktop. But when I publish the sheet to the server, it is not working.  Getting the access related error.

      Is tableau server overriding the sheet level access restriction ? Please advise.