~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/messages/configure.zcml

[r=sinzui][bug=885672] Allow users in project roles and the comment
 owner to hide/unhide bug comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
    <class
13
13
        class="lp.services.messages.model.message.Message">
14
14
        <allow interface="lp.services.messages.interfaces.message.IMessage" />
 
15
        <!-- setVisible is required to allow IBug.setCommentVisibility() to
 
16
             change the visibility attribute whilst still ensuring restricted
 
17
             access to the attribute via the API.-->
 
18
        <require
 
19
            permission="launchpad.AnyPerson"
 
20
            attributes="setVisible"/>
15
21
        <require
16
22
            permission="launchpad.Admin"
17
23
            set_attributes="visible"/>