I want to create new user as employee. I want store data like date of birth, salary, address etc .
These data should go to different table so we can later update and also employee can login into application later.
I would suggest you to create a new collection for that to store the details along with the userId
Yes I have created an employee collection.. now I want to login as user with employee credentials. Is it possible?
You can't do that You'll still need to use Appwrite built-in Auth, But, anytime you load a logged-in user you'll load is matched document in the employee collection.
Recommended threads
- Realtime api and labels as permission
in my tables i set labels as permission and real-time capabilities stopped working. Before when i was having "any" role everything was working. Note: user have...
- "Restore project" button fails: "Invalid...
In the dashboard, it clicking "Restore project" fails. The request sent to `PATCH https://cloud.appwrite.io/v1/projects/:project_id` with payload `{status: "act...
- how to access the value of account statu...