jcgharvey / vsm-svr

0 stars 1 forks source link

Add roles to the data model #26

Closed bighuggies closed 11 years ago

bighuggies commented 11 years ago

25

bighuggies commented 11 years ago

@ungarst @thomlug this changes the data model so you'll have to adjust your angular (the endpoints are the same).

I'm not sure how to do #24 with this stuff. Potentially we can use a secure cookie, but I'm not sure how well the NFC receiver would work with that.

With a cookie you have to contact the server and the server sets a session cookie with your role, which is then used to parametrize further requests to the API.