Alright, permissions are now working properly. For some reason I omitted
the last if statement qualifying the resolution type.

Moving forward, I'm having a problem with the visual indication here
<http://trac.edgewall.org/wiki/CookBook/Configuration/SignedTickets#Visualindication>.
 I can see in the trac log that signed.png is being loaded, however I'm not
seeing the image displayed on a signed ticket.  Keep in mind, I do however
see the ticket body change color - signed.png is located in my environments
htdocs folder.

*style.css*
{{{
body.resolution_is_Signed {
    background: #f5deb3 url(signed.png);
}
}}}

*site.html*
{{{
<html xmlns="http://www.w3.org/1999/xhtml";
      xmlns:py="http://genshi.edgewall.org/";
      py:strip="">

  <!--! Add site-specific style sheet -->
  <head py:match="head" py:attrs="select('@*')">
    ${select('*|comment()|text()')}
    <link rel="stylesheet" type="text/css"
          href="${href.chrome('site/style.css')}" />
  </head>

  <body py:match="body" py:attrs="select('@*')">
    <!--! Add site-specific header -->
    <div id="siteheader">
      <!--! Place your header content here... -->
    </div>

    ${select('*|text()')}

    <!--! Add site-specific footer -->
    <div id="sitefooter">
      <!--! Place your footer content here... -->
    </div>
  </body>
</html>
}}}


On Sun, Aug 3, 2014 at 7:36 AM, Peter Suter <[email protected]> wrote:

>  On 03.08.2014 15:50, Jared Bownds wrote:
>
> My present challenge with the latter permission policy configuration
> and ReadonlySignedTickets.py is that all users but TRAC_ADMIN are unable to
> comment on any ticket, irrespective of its status (new, assigned, open,
> closed as closed).  In summary, it's simply not working as desired.
>
> The code you quoted does not look at status, only at resolution:
>
> if t['resolution'] == 'Signed':
>
> If you reopened the ticket after resolving it as 'Signed', the resolution
> might still remain 'Signed'. Could that be what happened?
> Maybe try this instead:
>
> if t['resolution'] == 'Signed' and t['status'] == 'closed':
>
>
> If this doesn't help please specify exactly what code and configuration
> you use and what steps you perform and the corresponding section of the log
> file.
> Do you use other permission plugins (like blackmagic)?
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Trac Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/trac-users/1GNDHTObQKg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/trac-users.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Jared Bownds

c. 916-224-2324
e. Jared.Bownds@g <[email protected]>mail.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to