8000 Permissios Bug 0.7.1 · Issue #1005 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Permissios Bug 0.7.1 #1005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
reyesmfabian opened this issue Mar 20, 2021 · 1 comment
Closed

Permissios Bug 0.7.1 #1005

reyesmfabian opened this issue Mar 20, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@reyesmfabian
Copy link
reyesmfabian commented Mar 20, 2021

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?

@reyesmfabian reyesmfabian added the bug Something isn't working label Mar 20, 2021
@eldadfux
Copy link
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
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0