Resolved: Member permissions not working

Hi all,
I’ve got a website with a (all) members-only dynamic page. But when logged in I get a “don’t have permission” message, and the page is therefore inaccessible.
@brett-haralson can someone have a look at this? The site editor is here .
Note that this is the same website that I reported here also doesn’t have multilingual working properly, and therefore the login button still says login (instead of logout) even after logging in. I wonder whether the 2 issues are related though.

@amit-wix @wixanat @brett-haralson Can someone @wix have a look at this?

Hey my friend - I will put this in front of someone who can answer this!

Update: This has been passed on and is being investigated. Thank so much for taking the time and letting us know. I may not come back with any further responses, but know that it’s in the right hands. =)

the login button still says login (instead of logout) even after logging in…

That is probably a simple case of the page itself needing to be refreshed after the user has logged themselves in.

If you move the user onto another page then it wouldn’t be noticed as when the new page loads it will show user logged in etc.

This is a common issue with an example like the Wix Members Profile tutorial, that tells you to move the user onto their member profile page after logging in.

However, if you simply stay on the same page and just close your login lightbox, then the login button value on the page will not change from login to logout etc as the code needs to be run again if you stay on the same page after logged in.

That is why you simply need to close login lightbox and refresh page after member logs in.

@brett-haralson thank you, the support team has looked into it and emailed me.
@givemeawhisky thanks for the suggestion. But no, I did have a refresh there, and it’s working fine with the original site. As I was changing the button text in code to work around wix members lack of support for multi-language, the fact that multi-language wasn’t working meant the text didn’t get updated. Wix support answered that they found the language issue bug, but managed to work around it on this site. That did not resolve the permissions issue.
Edit: it turns out this was a database permissions mistake - the dynamic page had permissions, but the database was set as “form submission”, which evidently doesn’t allow loading dynamically post submission. Custom database permissions fixed this.