You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see the project is in its first phase. We need your help with backend this time.
Your task is to create USER ROLES:
Create three roles: USER, ADMIN, MODERATOR, save role in user document in DB and prepare guard for graphql queries and mutations (access to query/mutation if user has selected role(s)).
We will check if your code works, meets requirements and is clean.
TIME LIMIT
You have time to complete task until 20.12.2019, 20:00 (GMT+1)
INSTRUCTION FOR BEGINNERS
If you have any problems with task, check out following step-by-step instruction:
Hi there, Fullstack members!
FIRST TASK
As you can see the project is in its first phase. We need your help with backend this time.
Your task is to create
USER ROLES
:Create three roles:
USER
,ADMIN
,MODERATOR
, save role in user document in DB and prepare guard for graphql queries and mutations (access to query/mutation if user has selected role(s)).We will check if your code works, meets requirements and is clean.
TIME LIMIT
You have time to complete task until 20.12.2019, 20:00 (GMT+1)
INSTRUCTION FOR BEGINNERS
If you have any problems with task, check out following step-by-step instruction:
Before starting fork the repo as stated in docs
enum
with ROLES.UsersService
.AuthGuard
).After finishing the task, create merge request as in docs
ANY QUESTIONS?
You can ask your question related to task in this issue or on Fullstack+ Facebook Group.
The text was updated successfully, but these errors were encountered: