Current user info for an Experience app.

Angesagt

Kommentare

3 Kommentare

  • Offizieller Kommentar
    Avatar
    Cedric Lemaire

    Following up on your question:

    Requesting the usergroups is not possible via the ShowpadJS.getUserInfo() method. It is - apart from using the REST API - not possible to get a list of the user groups for a user.

    These user groups are also not used for any content in our apps. It only matters to provide a list of experiences and assets from the Showpad backend to our apps.

    A second point to highlight: filtering content based on the user group in the frontend might imply a security risk. (As the filtering is done based on Javascript.)

    Therefore, we believe it's better to use Dynamic Content Filtering as this will make sure that the content is filtered in the Showpad backed, without any influence of the frontend.

    Thanks for the great question!

    Aktionen für Kommentare Permalink
  • Avatar
    Cedric Lemaire

    Hi Gert,

    Thanks for reaching out and posting a great question.
    In these situations, it's always good to understand what the end goal is.

    I created a support case to help you out with this. It gives us the chance to ask for more specific and direct information. If we find a general approach to do this for specific use cases, we'll share it here, in our community. 

    Thanks again!

    -Cedric

    0
    Aktionen für Kommentare Permalink
  • Avatar
    Gert Stalpaert

    Sure, thanks for the prompt action and looking forward to go through it on our call this afternoon!

    0
    Aktionen für Kommentare Permalink

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Holen Sie sich die neuesten Apps und E-Mail-Integrationen

iOS App Store Google Play Store Microsoft Store