• Do not register here on develop.twiki.org, login with your twiki.org account. • Use Item7848 for generic doc work for TWiki-6.1.1. Use Item7851 for doc work on extensions that are not part of a release. More...Close• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update. • Does this site look broken?. Use the LitterTray web for test cases.

Item5345: Logging in as admin still redirects to main home

Item Form Data

AppliesTo:

Component:

Priority:

CurrentState:

WaitingFor:

TargetRelease

ReleasedIn

Engine

Urgent

Closed

patch

4.2.1

Edit Form Data

Summary:

Reported By:

Codebase:

~twiki4

6.0.2

6.0.0

5.1.3

5.1.1

5.0.2

5.0.0

4.3.1

4.2.4

4.2.2

4.2.0

4.1.1

4.0.5

4.0.3

4.0.1

6.1.0

6.0.1

5.1.4

5.1.2

5.1.0

5.0.1

4.3.2

4.3.0

4.2.3

4.2.1

4.1.2

4.1.0

4.0.4

4.0.2

4.0.0

Applies To:

Component:

Priority:

Current State:

Waiting For:

Target Release:

n/a

major

minor

patch

Released In:

6.1.1

6.0.1

5.1.3

5.1.0

5.0.0

4.3.0

4.2.3

4.2.0

4.1.1

4.0.4

4.0.1

6.1.0

6.0.0

5.1.2

5.0.2

4.3.2

4.2.5

4.2.2

4.1.3

4.1.0

4.0.3

4.0.0

6.0.2

5.1.4

5.1.1

5.0.1

4.3.1

4.2.4

4.2.1

4.1.2

4.0.5

4.0.2

Detail

Quite irritating that after entering the admin login your are completely lost on the main web homepage.

For instance, I want to create a new web. After filling out the form, if I am not logged in as admin I get this error message:

Attention
Access check on Main.WebHome failed. Action "CHANGE": access not allowed on root.
Contact arthur@visiblearea.com if you have any questions.
Log in as internal admin if you need to quickly fix something

"internal admin" is a link. When I follow the link, TWiki loses my intention. I go the the login screen and am redirected to the Main homepage, instead of creating the new web for me. I need to go back to TWiki web, topic ManagingWebs, and fill out the form again.

Dunno why this is in New state; from the above I would judge it to have been triaged. I am certainly able to reproduce it, simply by logging on as admin from the standard login screen in a default, out of the box, TWiki.

If it is too difficult to fix then we could simply remove the sudo links from the oops and normal template login screen so it is only visible on the TWikiAdminGroup topic from where I believe the sudo login works.

I personally lever liked that we present this admin related dialog to normal non admin users in login screens and message screens.

If you are an admin and you like to work as a non-admin normally and only use Sudo then you are pretty advanced as a TWiki admin and then you can put a sudo login link in your personal left bar.

I have no concern about the sudo feature being displayed on TWikiAdminGroup because that topic is not part of a normal user interface we present to normal users. If a normal user somehow gets himself navigated to TWikiAdminGroup he will not suffer from seeing the login instruction. On TWikiAdminGroup the feature is smart because it allows us to ship TWiki with this important topic secured by default. And when doing a sudo login from TWikiAdminGroup it is important that you land on TWikiAdminGroup after a successful authentication.

For the template login screen and Attention screens I would remove the link to the sudo login.

If you all agree I can volunteer to remove the links from the templates.