Hi all,
I have a power page where new contacts can register itself.
There is a table permission on account entity where the user can update the account if they have the correct web roles.
My web page access controle rule for that page is set to everybody to make it simple. (So everybody can see this page).
I have a dataverse process workflow that assigns a web role when the contact is created when a specific condition is true.
When a new contact is registered, the flow is triggered and the correct web role is assigned.
However, my page always gives an error that I don't have the permissions.
Even when I log out and log in again, it keeps showing me the message.
I first have to manually clear the cache with an admin role (URL: /_services/about).
And if I then log in again with the newly created contact, I can see the page.
I first thought the cache would be cleared after 15 minutes but after a half hour of waiting, I still get the same error. So only with manually clearing the cache, it works.
Does anybody have any ideas of how I can assign web roles for newly registered contacts and making sure they can immediately see my page that is assigned to the correct web role?
Thank you so much for the help!