W7 B15: Network Panel > Security Restrict

The new network panel with Wappler 7 Beta 15 does not show results when there is a security restrict on the server action.

Steps to Reproduce:

  1. Create a login page.
  2. Create a server action with a security restrict that retrieves data.
  3. Create a page that displays the information from the server action.
  4. Open the login page in Wappler, click on the preview mode (eye icon).
  5. Login using the correct credentials to see the data.
  6. Close the login page.
  7. Open the page with that show display the information.
  8. The information protected by the security restrict should show in the design view of the page.
  9. The network panel results will not show the results from the server action even though they are displayed on the design view.

Hey @scott, there's a clear button, what about hitting and refreshing the page where the restricted data is?

BTW:

I have several times. It does show that the sever connect with the security restrict is responding, but not the data that is being returned.

Screenshot 2025-01-16 at 4.19.49 PM

Data is not displayed on the bottom panel under live data?
Maybe I'm misunderstanding the question

This might be a better example.

Screenshot 2025-01-16 at 4.53.33 PM

In this example, I am logged in to the site because I can see the logout button and dashboard.

The whoami query does not return the body, which contains the query to retrieve a user details because it is protected by the security identity feature.

The get_menu_public query returns the body of the query because it is not protected by any security identity or security restrict features.

While this is a great feature for non-restricted data, it does not appear to work for restricted data or data only users logged in can see.

It's strange because in my case it shows..

image

Have you tried logging in live within wappker?

Yes, that is how I can see the logout and dashboard features.

Could it be that because I use libraries for my server restrict actions be causing the issue? I have various library folders with the different security restricts used and "include" them on the server action. I use libraries to save time from repeated use.