We need to streamline the authorization.go file located in the internal/application/service directory by removing unnecessary imports and temporarily disabling the CheckAuth method. The specific changes involve removing the "context" import and the protobuf (pb) import, as they are no longer in use due to the deactivation of the CheckAuth method.
The new version of the code:
package application
// CheckAuth returns true if the user is authorized to perform the action.
// func (a *Service) CheckAuth(ctx context.Context, authRequest *pb.AuthRequest) (*pb.AuthResponse, error) {
// return a.ServicePort.CheckAuth(ctx, authRequest)
// }
Additionally, please make sure to push all changes to the feature/hsm/58/auth-service branch.
We need to streamline the authorization.go file located in the
internal/application/service
directory by removing unnecessary imports and temporarily disabling the CheckAuth method. The specific changes involve removing the "context" import and the protobuf (pb) import, as they are no longer in use due to the deactivation of the CheckAuth method.The new version of the code:
Additionally, please make sure to push all changes to the feature/hsm/58/auth-service branch.