From 1e2d5e9f9d87b8ba27cf7fd96b0094341454ba06 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Fri, 17 May 2024 20:14:20 +0800 Subject: [PATCH] :sparkles: Check permissions GRPC method --- .idea/workspace.xml | 27 ++--- pkg/grpc/auth.go | 28 ++++- pkg/grpc/proto/auth.pb.go | 199 +++++++++++++++++++++++++++++---- pkg/grpc/proto/auth.proto | 12 ++ pkg/grpc/proto/auth_grpc.pb.go | 37 ++++++ pkg/server/auth_middleware.go | 4 +- pkg/services/auth.go | 4 +- 7 files changed, 266 insertions(+), 45 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 160800f..54c3c1d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,12 +4,14 @@