Opened 15 years ago

Closed 14 years ago

Last modified 14 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 Changed 15 years ago by Nicklas Nordborg

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.

comment:2 in reply to:  1 Changed 15 years ago by base

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 Changed 14 years ago by Jari Häkkinen

Milestone: BASE 2.4

comment:4 Changed 14 years ago by Nicklas Nordborg

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

comment:5 Changed 14 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [3504]) Fixes #512

comment:6 Changed 14 years ago by Nicklas Nordborg

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

Note: See TracTickets for help on using tickets.