binhnguyenquoc.
WWasp
•Created by binhnguyenquoc. on 1/8/2025 in #đŸ™‹questions
Unable wasp start with setting NODE_ENV=production
6 replies
WWasp
•Created by binhnguyenquoc. on 10/16/2024 in #đŸ™‹questions
Restrict access page based on role of user
Hi everyone, I am working on set permission levels for user something like super admin, admin, manager, user.
I want to limit access to some pages with given permission levels. For example, user will not be able to access user-management dashboard but other roles have. I see we defined authRequired: true in main.wasp. Can we do the same with set role in this file main.wasp also?
8 replies