0 Replies Latest reply: Mar 19, 2018 8:12 AM by Jesus Diaz Rivero RSS

    Getting section access rules from Qlik Sense Mashup

    Jesus Diaz Rivero

      As the title suggests, I was wondering if there is any function available in the Qlik Sense API to access the rules created under the Section Access part of the Qlik Sense script from a Javascript file.

       

      The reason I need to do this is to enable or disable certain parts of my mashup depending on the permissions of a given user.

       

      In case it is relevant, I've already tried using the method getAuthenticatedUser() from the Global API, which works fine if I'm willing to hardcode all possible users, but this is hardly a scalable solution.

       

      Any tips would be greatly appreciated.