I have encountered and intresting issue regarding log-ing timing. Have others?
UI
- User clicks button to open login form.
- User enters email & password.
- User clicks button to initiate workflow.
Workflow (after step 3).
- Login use
- Imeadiately attempt a write (Make changes to current user)
Take a look at the server log (pic below)… it shows that the user is anonymous… even though the user is actuall logged in? This behavour “mucks-up” the DB Privacy settings that use Current User since the current user is not valid? If I refresh the browser window F5 all works as expected, so the user is in fact logged in. I suspect the server is not sending the “session” informatin back to the client, or for some reason the session crediticals are not getting passed.