diff --git a/service/ldap.proto b/service/ldap.proto index 31c3ce6..47ddfd3 100644 --- a/service/ldap.proto +++ b/service/ldap.proto @@ -57,7 +57,21 @@ service ldap { rpc SetLdapGroupAuth(SetLdapGroupAuthReq) returns (SetLdapGroupAuthRsp); //权限组授权--移除 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 { LdapGroupFilter filter = 1;