Modal authentication dialog [was #7475]
{color:red}
reported by [~vitt] at 2008-07-16
previously known as [trac#75|http://www.textgrid.de/trac/ticket/75] {color}
When trying to access a resource we're not authorized to access, we currently get a whole bag of AuthFaultExceptions (in EFS). We cannot really react to this, however: We might ask getSessionID to pop up the authentication view, but this would return immediately.
The appropriate feature in terms of usability would be API to open a modal dialog (resp TrayDialog) that offers space for a message (e.g. "(C|R|U|D) access to XXX denied. Please authenticate yourself or ask the object's owner to grant appropriate access rights to you."), the current user name/id, the browser stuff that is inside the auth view now and buttons for Retry (using current auth data), Cancel (mark ressource as inaccessible) (and maybe OK).