Ignore:
Timestamp:
26 Aug 2010, 11:06:04 (14 years ago)
Author:
uli
Message:

We're going to deny general access for unauthenticated
users. Therefore we have to set permissions explicitly for every
public page, especially the login/logout pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py

    r5433 r5498  
    5454    grok.name('login')
    5555    grok.context(IWAeUPObject)
     56    grok.require('waeup.Public')
    5657
    5758    title = u'Login'
     
    7879    grok.name('loginstaff')
    7980    grok.template('loginstaffpage')
     81    grok.require('waeup.Public')
    8082    title = u'Staff Login'
    8183
     
    8688    grok.name('loginstudent')
    8789    grok.template('loginstudentpage')
     90    grok.require('waeup.Public')
    8891    title = u'Student Login'
    8992
     
    9295    """
    9396    grok.context(IWAeUPObject)
     97    grok.require('waeup.Public')
    9498    grok.name('logout')
    9599   
     
    109113    """ The main university page.
    110114    """
     115    grok.require('waeup.Public')
    111116    grok.name('index')
    112117    grok.context(IUniversity)
Note: See TracChangeset for help on using the changeset viewer.