Skip to content

🐛 Bug Report: Missing Scopes in API keys #2156

@ibaraki-douji

Description

@ibaraki-douji

👟 Reproduction steps

  • Go to a project
  • Create or view an API KEY
  • Look at the existing scopes

👍 Expected behavior

It should have the rules.read and rules.write scopes.

👎 Actual Behavior

It's missing the rules.read and rules.write scopes.

Which prevent API keys to deploy functions correctly (as the CLI check the function URL and shows it in the CLI).

If i'm not wrong it's missing the scopes in this part :
https://github.com/appwrite/console/blob/main/src/lib/constants.ts#L144

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

Appwrite: 1.7.4 (does not shows 1.7.X in the version select)
Console: 6.1.23 (i upgraded the console to see if it was fixed, tho it's not)

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions