-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
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
nacos.core.auth.enabled=true then failed to change self's password #3406
Comments
@i will solve it@ |
@lucianlv I have tried many times but could not repeat this problem. If it is convenient, please add dingidng to communicate |
I have the same issue. Any progress to share? |
开启鉴权 目前我看到会能复现这个 bug 的两种情况:
public boolean hasPermission(String username, Permission permission) {
List<RoleInfo> roleInfoList = getRoles(username);
if (Collections.isEmpty(roleInfoList)) {
return false;
}
...
// Old global admin can pass resource 'console/':
if (permission.getResource().startsWith(NacosAuthConfig.CONSOLE_RESOURCE_NAME_PREFIX)) {
return false;
} PS: 有判断限制不能给新用户绑定 我关于修复这个 bug 的想法: 创建用户默认管理角色,可以是 这个问题跟目前的权限控制功能实现有很大的关系,前端定义的资源更多的是 |
nacos version: 1.3.1
The text was updated successfully, but these errors were encountered: