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
The tutorial does mention (see "AUTHENTICATION VS. AUTHORIZATION" infobox) above that Authorization is going to come up later - still I think that stumbling upon errors while doing the tutorial can be confusing or distracting to new users.
I'd propose the following options:
A) Address the missing roles in auth.ts with a warning and mention that it's going to come later in the tutorial
B) add roles to the model already and leave it empty with a comment that it's going to be correctly implemented later
The text was updated successfully, but these errors were encountered:
During the tutorial chapter 4 / Authentication, I've noticed that in the auth.ts I get some errors:
Makes sense as I was not supposed to add roles to the user in the model
nor in the select of getCurrentUser in auth.ts
The tutorial does mention (see "AUTHENTICATION VS. AUTHORIZATION" infobox) above that Authorization is going to come up later - still I think that stumbling upon errors while doing the tutorial can be confusing or distracting to new users.
I'd propose the following options:
A) Address the missing roles in auth.ts with a warning and mention that it's going to come later in the tutorial
B) add roles to the model already and leave it empty with a comment that it's going to be correctly implemented later
The text was updated successfully, but these errors were encountered: