#2173: Create a function that evaluates repoze.what predicates and *simply*
returns a boolean
-------------------------+--------------------------------------------------
Reporter: Gustavo | Owner: Gustavo
Type: enhancement | Status: new
Priority: high | Milestone: 2.0b5
Component: TurboGears | Version: trunk
Severity: major | Keywords: repoze.what
-------------------------+--------------------------------------------------
We need a function that evaluates repoze.what predicates and *simply*
returns a boolean if it's met or not. For example:
{{{
display_message = evaluate(has_permission('manage'))
}}}
It should be a proxy to a function defined in repoze.what itself (which
will require the environ to be passed as a parameter).
--
Ticket URL: <http://trac.turbogears.org/ticket/2173>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---