I need help in setting up individual project permission for individual members of Organisation.
Let us take an example:- I have 1 organization in which 2 members and 2 projects i want 1 of the member to only see 1 project. Can any please help me?
Are you referring to Appwrite console?
If so, permission is based on organization So in your use-case you'll probably need to have 2 organizations.
Yes, This is on console level, and Yes, This is one of the solution, But Is it possible to add this permission of project level by function or by code?
There's no direct way for managing projects, you can use the internal cli-sdk https://github.com/appwrite/sdk-for-cli
But still I don't think it will let you achieve the project-based permissions.
Also, if you want to deep dive into it,
Take a look here https://github.com/appwrite/appwrite/blob/master/app/controllers/api/projects.php
This is what the cli
sdk and the console
uses to manage projects.
As of now projects get permission by team
and all members within an organization are in the same team.
You might want to π and comment about your use case here: https://github.com/appwrite/appwrite/issues/3756
Recommended threads
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here π I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...