Skip to content

Allow static metadata to be defined #557

@maleck13

Description

@maleck13

What

Sometimes it would be useful to be able define some static metadata that could then be used in decisions.

Example:

metadata:
  rbac:
    static:
      "accounting": ["allow1", "allow2"]

Ideally this would become part of the auth.metadata so it could be used in the predicates for example

sudo code:

request.header["x-mcp-toolname"] in auth.metadata.rbac[auth.identity.group]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions