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
At line 20 of the profile.js controller, there is the following check:
if (user.roleID === greyscaleGlobals.userRoles.admin.id)
However, in greyscale-globals.js, it looks like the storage of user role IDs was changed and not updated in the controllers. Am I correct in thinking this is a bug?
As an aside, will NTR be writing any client unit tests? I discovered this issue by writing some sample tests.
The text was updated successfully, but these errors were encountered:
At line 20 of the
profile.js
controller, there is the following check:if (user.roleID === greyscaleGlobals.userRoles.admin.id)
However, in
greyscale-globals.js
, it looks like the storage of user role IDs was changed and not updated in the controllers. Am I correct in thinking this is a bug?As an aside, will NTR be writing any client unit tests? I discovered this issue by writing some sample tests.
The text was updated successfully, but these errors were encountered: