fix(api-gateway): missing readonly access for demo when utilizing grpc workflow (#1005)
This commit is contained in:
parent
7e65f85377
commit
e551a364f6
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ export abstract class AuthMiddleware extends BaseMiddleware {
|
|||
response.locals.session = decodedToken.session
|
||||
response.locals.roles = decodedToken.roles
|
||||
response.locals.sharedVaultOwnerContext = decodedToken.shared_vault_owner_context
|
||||
response.locals.readOnlyAccess = decodedToken.session?.readonly_access ?? false
|
||||
response.locals.belongsToSharedVaults = decodedToken.belongs_to_shared_vaults ?? []
|
||||
} catch (error) {
|
||||
let detailedErrorMessage = (error as Error).message
|
||||
|
|
Loading…
Reference in a new issue