Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#512 closed enhancement (fixed)

Feature request: switch user stays on same page if possible

Reported by: base Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.4
Component: web Version:
Keywords: Cc:

Description

I don't know if this would be possible, or desirable in general, but it would be useful for us when we find a way to link to pages in BASE logged in as a guest user to allow the user to switch to their own account if desired (staying on the same page). I will discuss this in more detail here http://neuron.cse.nd.edu/vectorbase/index.php/ExpressionSummaryConsultation (working on this now). Thanks, Bob.

Change History (6)

comment:1 by Nicklas Nordborg, 18 years ago

Type: defectenhancement

That was how it worked at first. Then we got into problems if the new user account didn't have access to the current page. This led to a PermissionDeniedException which led to a dead end. From there it was no longer possible to go to any page at all. I guess there are ways to solve this problem, but we choose the easy way out. One possible solution is to have an option in the "Switch user" dialog where the user can select if it wants to stay on the same page or be redirected to the home page.

in reply to:  1 comment:2 by base, 18 years ago

Replying to nicklas:

That was how it worked at first. Then we got into problems if the new user account didn't have access to the current page. This led to a PermissionDeniedException which led to a dead end. From there it was no longer possible to go to any page at all. I guess there are ways to solve this problem, but we choose the easy way out. One possible solution is to have an option in the "Switch user" dialog where the user can select if it wants to stay on the same page or be redirected to the home page.

that sounds like the most sensible and economical solution!

comment:3 by Jari Häkkinen, 18 years ago

Milestone: BASE 2.4

comment:4 by Nicklas Nordborg, 17 years ago

Owner: changed from Johan Enell to Nicklas Nordborg
Status: newassigned

comment:5 by Nicklas Nordborg, 17 years ago

Resolution: fixed
Status: assignedclosed

(In [3504]) Fixes #512

comment:6 by Nicklas Nordborg, 17 years ago

(In [3512]) References #512. Exception should sometimes hide the menubar

Note: See TracTickets for help on using tickets.