I have a preloader on my page which contains a server connect to retrieve data.
I have no premissions restriction on the action file which is called by the server connection, so the page loads OK.
Now if I change the action file to have a premissions restriction enabled, when the page loads it get’s stuck on the preloader as the server connect returns a status code of 403.
Even if I put the elements on the page in a conditional region which are supposed to returned, the preloader gets stuck on screen.
How do I go about using the preloader on a page which may get back status 403 from a action file if restricted?
My issue is that I have one dashboard for many users.
The user has an option of two access levels. If the user has full access the get to see everything on the page. If the user has limited access, I need to hide menus/content/data from the user. If I just used plain conditional region or display-show conditions, the data is still visiable in the source.
So I have now put a restriction on the action file to limit to full access users.
Therefor the data will never be viewable in the source if the user does not have full access.