Comments (7)
I think this suggestion can lower the entry barrier for a developer starting to work with Appwrite because it will allow them to begin working with databases and files without requiring them to understand the permission mechanism first.
One issue I am not sure about is what the default should be in cases where we donβt have a logged-in user like when integrating from the server, or when the user is just a guest and have no account.
We should also find out what is the best way to reflect this in the documentation and other guides that might require understanding this process.
from appwrite.
I agree documentations is a must, but we also need to make sure that the getting started guide is easy as possible for people just wanting to play around and get to know Appwrite without diving into all the little details straight away.
Yes if we write the documentation with a lot of examples, then it'll definitely be easy for people to get started. Here's what im suggesting.
- The getting started guide needs to happen regardless. That can contain examples and theory behind appwrite. It must explain about the roles and permissions and also mention that the default permissions are for the current user and admin to read and write, but these permissions can be modified as per you use case
from appwrite.
@christyjacob4 100% about the examples, this is something we really lack right now in this permissions tutorial: https://appwrite.io/docs/permissions
I will add it to my checklist β
from appwrite.
Are we going to allow anonymous users to create documents as well ??
In the documentation I feel we can have a getting started section that explains to the users regarding the various permissions. The getting started section will give an overview of appwrite and explain all the nuances specific to appwrite including permissions and rules.
from appwrite.
@christyjacob4 Currently we do allow anonymous users to create documents, but we can always review and see if this is a real use case or can just be customised and implemented using a server integration. This still leaves us with the question of what happens on a server-to-server integration.
I agree documentations is a must, but we also need to make sure that the getting started guide is easy as possible for people just wanting to play around and get to know Appwrite without diving into all the little details straight away.
from appwrite.
Just to keep this thread up-to-date.
We have updated the permissions docs, making them a lot simpler to understand and we have also added some usage examples: https://appwrite.io/docs/permissions
from appwrite.
We have also updated our default values. From the client side, read and write will be given to the current user by default, on the server API it will be empty for both read and write unless set.
from appwrite.
Related Issues (20)
- π Bug Report: Uploading a file on a bucket using react native not working HOT 5
- Is there any way to implement Single Sign In using Appwrite? HOT 1
- π Bug Report: Realtime got disconnected using Appwrite Cloud HOT 2
- π Bug Report: Wrong version number in response (Appwrite v1.5.5) HOT 1
- π Documentation: Getting Started Links in Readme not valid HOT 3
- π Bug Report: Server Error on Empty Function Entrypoint
- π Bug Report: Avatars Initials API Returns Empty Image HOT 1
- π Bug Report: File status counter not updating HOT 1
- π Bug Report: Collections, attributes, and indexes don't migrate
- π Bug Report: Org delete button is not doing anything. HOT 1
- π Enhancement: Increase the word length of Team Role Parameter into 50 or 100
- π Enhancement: Permission.all
- My Usage is 0%, but I get an error for Limit exceeded. Could you repair and open my limitations? HOT 3
- π Bug Report: Failed one to many relationship HOT 1
- π Bug Report: Error creating many to one relationship
- π Enhancement: Vipps MobilePay oauth provider HOT 1
- π Bug Report: Double typo in credit card enum HOT 1
- π Bug Report: Queries doesn't work on non-ascii characters HOT 1
- π Bug Report: Domains Not Unassigned on Function Delete
- π Bug Report: Can't add a relationship to the existing document from Cloud Console
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appwrite.