In my case, I have a consultation room. This room will have a form of participants/member. It depends on lead doctor of this room, she/he have power to invites a doctor who can be participate in this room. This rooms will contains attachment of files, and a communication between doctors and patients. Hence, the data came from consultation room is considered as sensitive data. The lead of this team in consultation room, have capabilities to close the consultation.
Now I am thinking that I will take advantage the Team feature of appwrite. But as what I said earlier that the consultation will be closed. So the team I created should not be deleted because there will be a time that the doctor may be visit for this consultation room, as we know that the data that have been attach here is that the participant who can only access this. This is the question I need to clarify about the Team Appwrite:
- Can I create unlimited teams in appwrite? even though the consultation can be closed.
- Or do you have any idea? a better solution?
(I hope that we can also have a permission middleware, it something like middleware or a function that returns a boolean, this is something similar on firebase and pocket base security mechanism.