appwrite / appwrite/appwrite

🚀 Enhancement: More storage-efficient permissions

Open
#8,277 0 comments 1 reaction 0 assignees View on GitHub
enhancement product / databases
Dominant language
TypeScript
Stars
57.4k
Forks
5.7k
Avg merge
14h 50m
Merged PRs (30d)
276

Description

### 🔖 Enhancement description

Group or similar permissions in the database to prevent them from taking too much storage

### 🎤 Pitch

Currently permissions are save like
view team:123/role1
read team:123/role1
delete team:123/role1

It's very inefficient from an storage perspective.
Simplifying them intelligently to something like this:

177892 (automatic generation/grouping)

Or

team:123/role1 view, delete, update

Will allow saving a lot of storage

### 👀 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.