OS info
- Operating System : Mac OSX 20.1.0
- Wappler Version : 3.5.6
- **App Engine: NodeJs
Problem description
I have an admin page that I want to restrict to an Admin or Super Admin role. When I restrict the security, I’m always getting the ‘unauthorized’ error when accessing the api.
Steps to reproduce
- I created 5 different roles in my Security Provider
I’ve tried 2 different ways to define the role:
Using Equals
Or using an IN statement:
- On my server connect I have three permissions defined:
- I login with an admin user and the response is pulling back my 403 screen. Note on this page the first API call uses a Security Restrict (all users), second has no security restrict, third has the security restrict options from the screenshot above: