Jul 16 2019 09:43 PM
Hi,
I have created a SPFX webpart using React.JS, it's working fine but users with read permissions on the site are not able to view the webpart on the page.
As soon as I change the user permission from read to edit or higher permission then its visible to the user.
The page is published.
Any suggestion
Jul 17 2019 12:12 AM
SolutionTo me this sounds like you have some logic in your WebPart that requires the user to have more than Read-only permissions. This probably results in an exception ultimately causing the WebPart not being rendered.
Jul 17 2019 03:45 PM
Hi @Paul Pascha,
Yes, you are correct. I am fetching the list of sub sites and then looking for a specific sub site and then in the sub sites querying the site pages.
I think this is the issue.
Thanks for helping me out.
Cheers :)
Jul 17 2019 12:12 AM
SolutionTo me this sounds like you have some logic in your WebPart that requires the user to have more than Read-only permissions. This probably results in an exception ultimately causing the WebPart not being rendered.