appwrite / appwrite/console

๐Ÿ› Bug Report: Missing Scopes in API keys

Open
#2,156 3 comments 1 reaction 1 assignee Claimed by @stnguyen90 View on GitHub
bug
Dominant language
Svelte
Stars
393
Forks
260
Avg merge
6h 53m
Merged PRs (30d)
24

Description

### ๐Ÿ‘Ÿ 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?

- [x] I checked and didn't find similar issue

### ๐Ÿข Have you read the Code of Conduct?

- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.