bugFle3 is a Learning Environment - Bugs: bug #264, Frozen user should get an error...

 
 

bug #264: Frozen user should get an error message not just re-authentication dia

Submitted by:  Tarmo Toikkanen <tarmo>
Submitted on:  Tue 07 May 2002 11:09:13 AM UTC  
 
Category: User ManagementSeverity: Low
Item Group: UsabilityStatus: Fixed
Privacy: PublicAssigned to: Tarmo Toikkanen <tarmo>
Open/Closed: ClosedRelease: None
Client software: Server software: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 07 May 2002 11:28:20 AM UTC, comment #3:

[from previous tracker]
[submitted at 26/04 2002 21:06 by Tarmo]

OK, this is a dirty fix, but does the job passably. When the user tires of trying and presses cancel, we display an explanatory message in the error page, explaining that possibly his account has been disabled.

Tarmo Toikkanen <tarmo>
Project AdministratorIn charge of this item.
Tue 07 May 2002 11:28:18 AM UTC, comment #2:

[from previous tracker]
[submitted at 13/03 2002 23:46 by Bo Granlund]

The thing that needs to be done is to catch the unauthorized thing before zope complains back to the browser with errorcode 302 (?). A quick and dirty solution: in CourseManager.redirect_to_kb_on_some_course() do not let zope do the permission checking by itself, but rather do it manually, and then return the obvious stuff in the obvious places. This ofcourse only complains when the user presses the "Log in" button. An other way is to catch the unauthorized thing in standard_error_message, and somehow determine if that particular unauthorized exception should really show the "you are frozen" message, rather than the "you do not have permission to access this object" message. There are perhaps better ways to do this, but I don't know how, and I'm too lazy for for google. ;)

Tarmo Toikkanen <tarmo>
Project AdministratorIn charge of this item.
Tue 07 May 2002 11:28:17 AM UTC, comment #1:

[from previous tracker]
[submitted at 25/02 2002 14:41 by Ilkka Kekkonen]

Can we create an own Error: Unauthorized page?
Send mail to frozen user.

Tarmo Toikkanen <tarmo>
Project AdministratorIn charge of this item.
Tue 07 May 2002 11:09:13 AM UTC, original submission:

[from previous tracker]
[submitted at 01/02 2002 16:13]

If you try to login as a user who has been frozen, you just get the authorization dialog in an infinite loop (i.e. can't login and browser keeps on asking user/pass).
Could we do this in such a way that a frozen user is detected at login time and directed to a single page to which she has access:
Your account has been frozen by the FLE3 system administrator
Please contact &lt;fleadmin emailaddress here&gt; for further information if you think that this is in error.

Tarmo Toikkanen <tarmo>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 07 May 2002 11:28:21 AM UTCtarmoStatusNone=>(Error - Not Found)
  Assigned toNone=>NA
  Open/ClosedOpen=>(Error - Not Found)
  Fixed ReleaseNone=>(Error - Not Found)
  Closed on-=>-

Back to the top


Powered by Savane 3.1-cleanup1