Replies: 1 comment
-
For ease of first time development, Nova does skip |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
User record has been updated to include a varchar column of
role
, which can be one of the values from UserRole Enum:Created Policies for all the models which only provides permissions for non-user roles.
in NovaServiceProvider.php
UserPolicy:
If I'm logged into my web app as a user with role of "User", ie not one of the above that would classify the user as an employee, I still am able to get to Nova main dashboard. The user is then able to view the Logs and stats for the modules.
Resources correctly is not loading any of the modules, so the user is not able to view that content nor update any of it.
However, I would have assumed with "viewNova" being FALSE, the user shouldn't be able to navigate to the Nova dashboard at all. What am I doing wrong that they can?
Beta Was this translation helpful? Give feedback.
All reactions