8000 🚀 Feature: Needed Documnet level security restriction based on its attribute value or relative query which returns true, like in supabase · Issue #5974 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
🚀 Feature: Needed Documnet level security restriction based on its attribute value or relative query which returns true, like in supabase #5974
Open
@rahul3v

Description

@rahul3v

🔖 Feature description

cloud-beta : I needed DLS : should be like I can able to restrict each document based on
current user (can do with roles),

but can' t do based on
its attribute value, based on any relative relationship query
which is not what i getting

like in supabase : RLS : you can restrict row access based on "current user value" as well as column values or any "sql Query" (which returns boolean value, like exists(Sql query)), which gives a lot more flexibility

🎤 Pitch

Let say: I want for users to see only the posts posted in their organisation

which in my case, if i put like posts.organisationId === organisation.id, then allow access,

but using roles stuff, kind of making it more complex in this scenario,

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

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestproduct / databasesFixes and upgrades for the Appwrite Database.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0