icole 4 lat temu
rodzic
commit
3b5749dcde
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      internal/logic/get_user_logic.go

+ 1 - 1
internal/logic/get_user_logic.go

@@ -46,7 +46,7 @@ func (l *GetUserLogic) GetUser(in *transform.UserRequest) (*transform.UserRespon
 		return &transform.UserResponse{}, nil
 	}
 	var tfr transform.UserResponse
-	ext, err := l.svcCtx.ErpUtil.InRoles(user.Id, "TMKZHUGUAN", "LAMK", "TMKmanager", "TMKassistant", "NetTMKdirector", "NetTMKassistant", "LAMKM", "LATMK")
+	ext, err := l.svcCtx.ErpUtil.InRoles(user.Id, "LAMK", "LAMKM", "student/readingStudent")
 	if err != nil {
 		return &transform.UserResponse{}, err
 	} else if ext {