We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to create a collection with permission I used the steps provided on the server-side sdk Node.js
It doesn't accept when I do add permissions when creating, it doesn't create the collection
so I tried the update after creating it, it still doesn't get the permissions
async function CreateCollection(collectionId,databaseOject,type,userid){ try{ const res = await databaseOject.createCollection( '647d4258936253967753' ,collectionId ,type) return res } catch(err){ return err; } } async function UpdatePermissions(collectionId,databaseOject,type,userid){ try{ const res = await databaseOject.updateCollection( '647d4258936253967753', collectionId, type, [ Permission.create(Role.user(userid)) ] ) } catch(err){ return err; } }
it should get permitted
it doesn't
Appwrite Cloud
MacOS
No response
The text was updated successfully, but these errors were encountered:
Hi @Mahmoudgalalz , checking in to know if this is resolved now?
Sorry, something went wrong.
joeyouss
No branches or pull requests
👟 Reproduction steps
I'm trying to create a collection with permission I used the steps provided on the server-side sdk Node.js
It doesn't accept when I do add permissions when creating, it doesn't create the collection
so I tried the update after creating it, it still doesn't get the permissions
👍 Expected behavior
it should get permitted
👎 Actual Behavior
it doesn't
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
MacOS
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: