Skip to content

ory get permission-config output is incorrect #321

Description

@rparsonsbb

Preflight checklist

Ory Network Project

https://magical-brattain-zl5vpykbux.projects.oryapis.com

Describe the bug

❯ ory get permission-config --format json
{"limit":{},"namespaces":{"location":"https://storage.googleapis.com/bac-gcs-production/xxxxxxxxxx.bin"}}
❯ ory get permission-config --format yaml
limit: {}
namespaces:
  location: https://storage.googleapis.com/bac-gcs-production/xxxxxxxxxx.bin

So... the output is correct format :D but the actual .bin file is always just the typescript file.

version info:

❯ ory version
Version:    v0.2.2
Git Hash:   3ef9cd5f54d31fdc8da9ea3d9bfa1cfefb6f098d
Build Time: 2023-01-26T09:52:48Z

Reproducing the bug

  1. Download latest ory-cli release
  2. Auth in (having to go make a password for sso was interesting, might want to document it)
  3. ory use project
  4. ory get permission-config

Relevant log output

No response

Relevant configuration

No response

Version

0.2.2

On which operating system are you observing this issue?

Linux

In which environment are you deploying?

Ory Network

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions