Aidan275 / nativeqda-dev

NativeQDA
http://dev.nativeqda.xyz/
GNU General Public License v3.0
2 stars 0 forks source link

Modify the systems authentication to allow different user roles #44

Closed Aidan275 closed 6 years ago

Aidan275 commented 6 years ago

Need to make changes to the authentication in the backend for the API calls to distinguish between roles and to the front end to restrict certain routes for certain user roles (maybe - depending on the different privileges and access the different roles permit).

Lucas-W commented 6 years ago

1fbbdbcedff900792dcb03caa7f9259d053a663d req.payload.isAdmin does this. Can't restrict on the frontend, only redirect and not send data from backend.