cozy / cozy-data-system

Deprecated - Data Layer for Cozy V2 Platform
https://cozy.io
GNU Affero General Public License v3.0
24 stars 21 forks source link

Fix authentication problem when controller is restarted #129

Closed poupotte closed 9 years ago

poupotte commented 9 years ago

Initialize database, views and permissions before start server

aenario commented 9 years ago

Could you add a comment in server.coffee Could you easily make a test for it ?

poupotte commented 9 years ago

Sure for comments. For test it is more complicated. Indeed, problem arrives when controller is restarted : Just after data-system, controller start user applications. Thus, data-system receives request before token initialization.

aenario commented 9 years ago

ok, dont bother with the test.