Latest JAS v1.1.0
144 plugins online

API set project completely overwrites session

When switching projects via the APIs it does load the new project but overwrites the current session (clearing the login etc). Depending on the scenario this may be desired behavior however it seems more logical to take a similar approach as how the backend handles multi project sessions. 

Moreover it seems debatable whether switching projects with the APIs is something that should be allowed on a project basis. If project A allows it but project B doesn't then there's no way to switch back to project A. So maybe it's better to have this API configuration option for the JAS backend project only. Subsequently the project API calls should be inline with how the backend handles multi project sessions. 

Long story short if a project API call is done it should annex the current session and leave it in tact (i.e. don't overwrite). If the selected project doesn't have a session it will create it and if it does already exist it will reuse it.
JAS14FEB001
Project
JAS Core (JAS)
Tags
Rank
3
Workflow
Version
Due in version

Updates (2)

Monday 9th of November 2015 at 23:44 :
Issue updated
Issue type: Issue => Change
Issue summary: API set project fails => API set project completely overwrites session
Description: When switching projects via t... => When switching projects via t...
Priority:  => Medium
Impact:  => Medium
Due in version: 1.0.0 => 1.1.0
Thursday 28th of April 2016 at 10:53 :
Issue updated
Due in version: 1.1.0 => 1.2.0

Files (0)

No files