[feature](auth)Implementing privilege management with rbac model (#16091)
change implement of auth to rbac each user has one default role which can not be drop; if you grant priv to user,it will grant to default role , In the current pr, the user can still only have one role other than the default role, but in the future, the user and role will be many-to-many rename PaloRole,PaloAuth,PaloPrivilege to Role,Auth,Privilege
This commit is contained in:
@ -50,8 +50,10 @@ public final class FeMetaVersion {
|
||||
public static final int VERSION_114 = 114;
|
||||
// change replica meta to json
|
||||
public static final int VERSION_115 = 115;
|
||||
// change Auto to rbac
|
||||
public static final int VERSION_116 = 116;
|
||||
// note: when increment meta version, should assign the latest version to VERSION_CURRENT
|
||||
public static final int VERSION_CURRENT = VERSION_115;
|
||||
public static final int VERSION_CURRENT = VERSION_116;
|
||||
|
||||
// all logs meta version should >= the minimum version, so that we could remove many if clause, for example
|
||||
// if (FE_METAVERSION < VERSION_94) ...
|
||||
|
||||
Reference in New Issue
Block a user