4 Replies Latest reply: Jul 5, 2017 5:06 PM by Erik Wetterberg RSS

    Hide error and div when user is not allowed to see object

    Valentin Fluegel

      Hello everyone,


      i have an issue with my mashup and don't know how to handle it. Maybe someone can help me?


      The mashup contains objects from 2 different apps. User A is allowed to see all objects while user B should only see some objects from one app. When i open the mashup with user B, error 403 is popping up and displays "forbidden". Even so i can browse through the website with that user.

      First of all I dont want that error to be displayed. How can I do that?

      Futhermore is it possible to hide the empty divs with for user B? Otherwise the page looks realy awkward with only some of the objects.


      thanks in advance for your help!