[Trac-tickets] Re: [The Trac Project] #2483: raising exceptions from macros

The Trac Project noreply at edgewall.com
Mon Dec 19 09:44:05 CST 2005

#2483: raising exceptions from macros
 Reporter:  anonymous                |        Owner:  jonas
     Type:  enhancement              |       Status:  new  
 Priority:  normal                   |    Milestone:       
Component:  wiki                     |      Version:  0.9.2
 Severity:  normal                   |   Resolution:       
 Keywords:  permission, wiki, macro  |  
Changes (by mgood):

  * summary:  Per-Page permission handling implemented as a wiki-macro =>
              raising exceptions from macros


 The macro can be contributed to the MacroBazaar, but I don't think that it
 will be integrated since it is only helpful as long as the people
 restricted from viewing pages don't have wiki editing permissions (or
 admin permissions if the pages are made ''read-only'').

 I'm going to keep this ticket open to possibly address the raising of
 exceptions from within a macro.  However, as far as I can see the only
 reason to do that is for macros that want to block viewing of the entire
 page, which as I said before is unfortunately not a general solution to
 adding more granular wiki access control.  In any other case I think it's
 better to have the exceptions caught and displayed as they are now so that
 it doesn't affect the rest of the page.

Ticket URL: <http://projects.edgewall.com/trac/ticket/2483>
The Trac Project <http://trac.edgewall.com/>

More information about the Trac-Tickets mailing list