Chris Withers wrote:
> Okay, Posting has the following list of methods for the 'view'
> permission:
>                   'email','subject']
> Now, what I want to do is add the following methods to this list for the
> Article class which subclasses Posting:
> ['prev_item','next_item','showSummary','desc_items']
> How do I do that?

class Article:

  __ac_permissions__ = (
    ('View', ('prev_item', 'next_item', 'showSummary', 'desc_items')),

  ... etc ...


This should work as expected.  Security assertions are inherited except
when overridden.

BTW did getSubject() solve your other problem?  I'm not sure irc is
going to work again.  "" seems to be too busy.


Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to