Skip to content

feat(grpc): add policy field to CreateSessionRequest #36

Description

@cidrblock

Summary

The REST API POST /api/sessions accepts a policy field in the request body, allowing callers to associate a policy with a new session. The gRPC CreateSessionRequest message has no policy field, and the handler passes undefined for the policy parameter.

Proposal

Add optional string policy = N; to CreateSessionRequest in service.proto and pass it through in the CreateSession handler.

Context

Identified during gRPC config parity audit in #32.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions