deps: Bump reva to latest main

for getting https://github.com/opencloud-eu/reva/pull/360
This commit is contained in:
Ralf Haferkamp
2025-10-06 11:21:57 +02:00
committed by Ralf Haferkamp
parent f096285769
commit 9ec532da93
18 changed files with 203 additions and 53 deletions
@@ -150,7 +150,10 @@ func NewUnary(m map[string]interface{}, unprotected []string, tp trace.TracerPro
log.Warn().Err(err).Msg("access token is invalid")
return nil, status.Errorf(codes.PermissionDenied, "auth: core access token is invalid")
}
if sharedconf.MultiTenantEnabled() && u.GetId().GetType() != userpb.UserType_USER_TYPE_SERVICE && u.GetId().GetTenantId() == "" {
log.Warn().Msg("user has no tenant id, rejecting request")
return nil, status.Errorf(codes.PermissionDenied, "auth: user has no tenant id, rejecting request")
}
// store user and scopes in context
ctx = ctxpkg.ContextSetUser(ctx, u)
ctx = ctxpkg.ContextSetScopes(ctx, tokenScope)