
Hi there! I'm trying to get a specific bit of functionality set up in my application.
I would like to be able to allow users to send Team Invite emails to others, but it seems like the only way to do that is to give them the owner
role.
I don't want to grant users the ability to delete teams or memberships, which seems to automatically come with the owner
role.
Is there a way to restrict permissions so that users are allowed to invite, but do not have access to other owner
functionality? I've also tested adding a server function to create a new team membership, which does work correctly, but doesn't send the invitation email like it does when initiated client-side.
Follow on: If the only way to do this is server-side... how can I generate a secret to verify the user's membership in the same manner as the client-side invitation?
Recommended threads
- Function timed out during launch.\nError...
I am getting this error in cloud function
- Node.jd 17.1.0 npm publish
Can you please publish the latest version to npm. I just did a big refactoring to improve my code with the new upsert but I can’t publish/test because it’s not ...
- Implementing Offline Login Caching with ...
Hi, I'm evaluating Appwrite for my Flutter app and need clarification on handling offline login sessions. My app requires users to log in, with the session ca...
