Skip to content
This repository was archived by the owner on Aug 24, 2024. It is now read-only.

feat: add createdBy in trips #91

Open
AyanavaKarmakar opened this issue Jan 24, 2023 · 2 comments
Open

feat: add createdBy in trips #91

AyanavaKarmakar opened this issue Jan 24, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@AyanavaKarmakar
Copy link
Member

  • update the schema of Trip and add createdBy field
  • add created by under trip name and desc on home page
  • modify mutation for getting creating trips data, store the session name as createdBy, just like admin id
@Nishith-Savla
Copy link
Contributor

Isn't createdBy same as adminId?

Generally the creator is itself the admin....

@AyanavaKarmakar
Copy link
Member Author

creator -> trip owner -> can delete / edit
multiple admins (prob gonna implement later) -> trip admin -> can only edit
participant -> read-only trip details

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Status: Priority
Development

No branches or pull requests

2 participants