Forums

Forums / Bugs & Issues / Widget displaying when it shouldn't

Widget displaying when it shouldn't

2 posts, 1 answered
  1. Mason Ambery
    Mason Ambery avatar
    67 posts
    Registered:
    19 Nov 2021
    26 Sep 2023
    Link to this post
    I have a page that displays a content block and a grid based on a particular role.  Although the role is not assigned to the portal user logged in, it is still displaying when this portal user has "This user can access site backend" enabled within the Sitefinity User manage content or settings section.  I've already verified that if I remove access to the backend for this user, the content is properly not displayed but when enabling access to the backend the content is rendered when the user is logged into the front-end.  This makes no sense to me considering the grid widget is only viewable by specific roles.  What am I missing? 
  2. Dustyn Holland
    Dustyn Holland avatar
    8 posts
    Registered:
    19 Jun 2023
    Answered
    27 Sep 2023 in reply to Mason Ambery
    Link to this post
    Hello Mason,

    The reason for this is because there is a difference between a Portal User and a Sitefinity User. As soon as you mark a User as having access to site backend, that user is now considered a Developer in a way.

    If you want Portal Roles to be the unique driver for a User, do not give them permission to the backend.

    Dustyn
2 posts, 1 answered