Merge branch 'master' of gitlab.fusenpack.com:backend/proto
This commit is contained in:
commit
a6b6176d92
|
@ -57,7 +57,21 @@ service ldap {
|
||||||
rpc SetLdapGroupAuth(SetLdapGroupAuthReq) returns (SetLdapGroupAuthRsp);
|
rpc SetLdapGroupAuth(SetLdapGroupAuthReq) returns (SetLdapGroupAuthRsp);
|
||||||
//权限组授权--移除
|
//权限组授权--移除
|
||||||
rpc RemoveLdapGroupAuth(RemoveLdapGroupAuthReq) returns (RemoveLdapGroupAuthRsp);
|
rpc RemoveLdapGroupAuth(RemoveLdapGroupAuthReq) returns (RemoveLdapGroupAuthRsp);
|
||||||
|
|
||||||
|
//验证权限组
|
||||||
|
rpc VerifyAuthorityGroup(VerifyAuthorityGroupReq) returns (VerifyAuthorityGroupRsp);
|
||||||
}
|
}
|
||||||
|
message VerifyAuthorityGroupReq {
|
||||||
|
string path = 1;
|
||||||
|
string method = 2;
|
||||||
|
string category = 3;
|
||||||
|
int64 group_id = 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
message VerifyAuthorityGroupRsp {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
message GetLdapGroupsReq {
|
message GetLdapGroupsReq {
|
||||||
LdapGroupFilter filter = 1;
|
LdapGroupFilter filter = 1;
|
||||||
|
|
||||||
|
@ -308,4 +322,5 @@ message LdapParseTokenRsp{
|
||||||
string UserDn = 1;
|
string UserDn = 1;
|
||||||
int64 UserId = 2;
|
int64 UserId = 2;
|
||||||
string UserEmail = 3;
|
string UserEmail = 3;
|
||||||
|
int64 group_id = 4;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user