Skip to content

permissions created via meta data api doesnt reflect in meta data files #8272

@zlil

Description

@zlil

Version Information

Server Version: 2.1.1
CLI Version (for CLI related issue): 2.1.1

Environment

Docker container

What is the expected behaviour?

when creating permissions via metadata API applying the changes inside the related metadata tables yaml files.
for ex. if for some reason the container is down and we want to rebuild it and runing migrations from scratch I can't recover the permissions. another ex. is that we want to keep these changes under source control like git.

Keywords

api metadata docker yaml

What is the current behaviour?

creating permissions via the /v1/metadata/ is fine but to way to keep it on track inside metadata yaml files.

How to reproduce the issue?

create permissions via the api meta data -
https://hasura.io/docs/latest/graphql/core/api-reference/metadata-api/permission.html#pg-create-insert-permission

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions