We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/labulaka521/crocodile/blob/1e81ef0c3d9c563edea50e672d428f69c4493563/core/middleware/auth.go#L80
此处uid 是否应修改为role.String() ?
The text was updated successfully, but these errors were encountered:
请描述详细点
Sorry, something went wrong.
casbin rbac 基于用户角色判断权限,所以enforcer.Enforce 应该传入用户role ,实际部署中这个地方修改后可正常进入界面。
No branches or pull requests
https://github.com/labulaka521/crocodile/blob/1e81ef0c3d9c563edea50e672d428f69c4493563/core/middleware/auth.go#L80
此处uid 是否应修改为role.String() ?
The text was updated successfully, but these errors were encountered: