Opened 14 years ago

Closed 14 years ago

#86 closed enhancement (fixed)

Auto-login when editing instead of "Permission Denied"

Reported by: adehnert Owned by:
Priority: normal Milestone: Sometime
Component: Core Version:
Keywords: Cc:
Size: tiny

Description

When I try to go to https://asa.mit.edu/groups/32/edit/main when not logged in, I get "Permission Denied". I should get redirected to port 444.

Change History (1)

comment:1 Changed 14 years ago by adehnert

  • Resolution set to fixed
  • Status changed from new to closed

Fixed:

commit 4368c001cd814769131652ebe372928faccec9ca
Author: Alex Dehnert <adehnert@mit.edu>
Date:   Wed Mar 14 05:49:46 2012 -0400

    Require login more effectively on private pages
    
    Use the login_required decorator on pages that require being a group admin
    (update main and update people). This will redirect people to the login page if
    they aren't logged in, instead of giving them an ugly "Permission Denied"
    message with no clue what to do next.
    
    Fixes ASA Trac #86.
Note: See TracTickets for help on using tickets.