canonn-science / CanonnApi

Projects for the Canonn ruins system(s)
https://api.canonn.technology
MIT License
5 stars 0 forks source link

User with no permissions gets an error on base data pages #11

Closed gingters closed 7 years ago

gingters commented 7 years ago

If someone logs in without permissions, the application throws an error: Reason: The permissions array isn't there at all (undefined), and we can't call .includes() on that.

gingters commented 7 years ago

Solved by a0057db8ba5d8ba73e44596c9a8f284802a6ea6f