Issue61

Title Create a function that checks if the user is allowed to visit a given URL
Priority feature Status deferred
Superseder Nosy List Gustavo
Assigned To Gustavo Topics repoze.what

Created on 2009-02-15.12:15:46 by Gustavo, last changed 2012-03-16.22:41:32 by tseaver.

Messages
msg143 (view) Author: Gustavo Date: 2009-02-15.12:15:45
repoze.what-pylons must provide a function that receives the path to a controller and returns a
boolean depending on whether the user is allowed to visit that controller (evaluating the
controller-wide predicates (if any) and the predicate specific to the action via the @require
decorator). Example with Genshi: 
  <a py:if="can_access('/admin/')" href="/admin/">
      This is a link for admins
  </a>

 The can_access() function above represents the function in question.
History
Date User Action Args
2012-03-16 22:41:32 tseaver set status: in-progress -> deferred
2009-02-15 12:15:46 Gustavo create