Skip to content

Documents inherit or default to Collection Permissions #861

Closed

Description

@pspierce

🚀 Feature

Document permissions, unless changed, hold the permissions of the Collection they are under.

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

Similar to #371, but not exactly.

Have you read the Code of Conduct?

Yes

Pitch

For many of my use cases, I won't need separate permissions for each Document under a Collection If the permissions on a Document are null, then the permissions of the Collection should be applied. I see the need for row-level permissions; however, they seem more an exception. If you are using the UI to build out things like page navigation, it adds a lot of busy work to set each Document's permissions.

Activity

  1. eldadfux commented on Jan 5, 2022

    @eldadfux
    Member

    With the release of the new database in Appwrite 0.12 we have introduced the concept of permission models. This should make the difference between collection-level permissions to document-level permission much simpler. You can learn more about it here: https://appwrite.io/docs/database#permissions

    You can learn more about the new version here: https://dev.to/appwrite/its-here-announcing-the-release-of-appwrite-012-5c8b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions