Skip to content

Permissios Bug 0.7.1 #1005

Closed
Closed

Description

@reyesmfabian

One question, in version 0.7.0 I could create a document with specific permissions and when I updated that document it was not necessary to send the permissions again.

Something like this:

.updateDocument(
collectionId: usersCollection,
documentId: documentID,
data: {
      'carrito': [carritoToJson(carritos)]
         },
read: [],
write: []
);

But now in version 0.7.1 I always get an error 401

I was checking and it seems that it is necessary to always send the permissions of each document.

Is this a bug or will it always work this way from now on?

I think that unless an update of the permissions is sent, they should not be modified from their initial values. Am I correct?

Activity

  1. added
    bug
    on Mar 20, 2021
  2. eldadfux commented on Mar 20, 2021

    @eldadfux
    Member

    @elreyes this was actually a bug we fixed, please pass the read and write permissions. You can learn more here: #977

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions