Resolve "Remember password"
Closes #141 (closed), #142 (closed), #104 (closed)
-
Fix disabling on remember checkboxes -
Store passwords for drafts and the editPassword separately -
Fix clearing of draft-specific passwords -
Ensure tools show not authenticated when not authenticated for drawing or server -
Don't ask for password when set a new one (#142 (closed)) -
Store privileges per draft if have a draftId in response (draft edit password) -
Look session storage issues (#102 (closed)) -
switch to using LocalStorage to store all info -
keep copy in SessionStorage to get around deleting info on refreshes -
listen for LocalStorage changes to update authentication between tabs -
add onClose action to clear non-remember parts from LocalStorage on last tab close -
store privileges in memory only -
server should push updated privileges -
server authenticate should check authentication for given credentials and give back privileges the credentials give for that draft - server editPassword will give back none (for now) for a draft that has its own editPassword
-
-
ensure clients are reauthenticated:
-
when the draft editPassword is edited or added -
when the draft editPassword is removed
-
-
check issue with storing password after setting when there is no server editPassword -
add remember password checkbox to new draft password form
Edited by BytesNZ