That seems like a poor hack. There is functionality built in for Roles, ie the “you don’t have permission to view this page”. Is there no way to accomplish getting all the site members permissions?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| is there a way to get roles for a site member by querying it? | 4 | 168 | March 8, 2023 | |
| How to add roles members to users with wix code | 2 | 922 | February 23, 2019 | |
| Get a member's roles in the backend | 5 | 200 | January 24, 2022 | |
| Get the information of user roles | 7 | 2201 | February 7, 2020 | |
| Member roles | 3 | 1192 | June 7, 2019 |