Comment 3 for bug 351311

Revision history for this message
Xavier Brochard (xavier) wrote : Re: [Bug 351311] Re: Login Box is not displayed in printHead

Le mercredi 01 avril 2009 01:02:22 Malcolm Fitzgerald, vous avez écrit :
> The loginbox appears on the Home page because the code for Home includes
> this. It seems as though Ziga has changed his mind about the behaviour
> and moved the code from printHead into cgiHome.
>
> In my experience, the login box should be available from all pages.

I agree. Same experience.

> I
> have several sites running that need to have login authorisation and
> what I have found is that users bookmark the pages that they need. They
> do not bookmark Home and navigate from there.

If they bookmark the page, we should change the expiration date of the cookie.

> In these cases I have code
> which tests the user group and displays the login form to guests.

I think that curently, the Login box is allways displayed (I've checked this
on some page, but not all)

The current practice on the web is to redirect users to a login page and after
login, to going back.

> That
> is preferable to the warning box that says "you do not have permission,
> etc" as many people who do really have permission only need to login and
> it is much nicer to say "welcome, please login". However, this is a
> special case, in many cases it will be possible for guests to use the
> system without ever having to login.

You are right: this message is not the best and should be change.
It's a bit terrific!
A link to Home should be added
Basic Head and Bottom are also missing (would help to navigate).

Possible improvement: use a layer to display the Warning and login box above
the page.

> I think that this is an area where we need to put a little more thought
> into the behaviour. Login can be optional or required, in either case,
> it is only possible when there is WBB{usertable} or WBB{groups} has been
> defined.

There are problems with the actual system. We need to think about it. I will
try to put my wishes on the wiki.

--
Xavier
<email address hidden>
09 54 06 16 26