On 28.07.2014 01:01, Jared Bownds wrote:
Thanks for the feedback, i'm now confident ReadonlySignedTickets.py is
enabled as a plugin.
I've run a few tests on the code below. I created a user called temp1
that does not have TRAC_ADMIN privileges. Also, I created a request
(#1968) and resolved it as signed. While the permissions feedback
provided by the trac log indicates the user does not have the necessary
permissions to comment on the ticket, I am still able to modify the
request as user temp1. I would appreciate feedback on
ReadonlySignedTickets.py to try and identify why the desired behavior is
not functioning.
Permission policy plugins also need to be listed in the trac.ini config
file under [trac] permission_policies. For example if you previously
only had the current default policies, add ReadonlySignedTickets to the
front of the list:
[trac]
permission_policies = ReadonlySignedTickets, ReadonlyWikiPolicy,
DefaultPermissionPolicy, LegacyAttachmentPolicy
(Note that the order can be important!)
Hope this helps.
[1]
http://trac.edgewall.org/wiki/TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionPolicy#Usage
[2]
http://trac.edgewall.org/wiki/TracFineGrainedPermissions#PermissionPolicies
--
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.