Thanks for replying. I'm using 0.12-stable. I was able to see from the logs that the plugin was being invoked, but the permission still wasn't getting displayed on the Admin page. (Perhaps I had to have INCLUDE_URL in order to see it?) I found out how to add INCLUDE_URL to the list without relying on the plugin. According to this page:
http://nil.checksite.co.uk/index.cfm/2008/1/14/trac-0-11-creating-your-own-permissions and here: http://trac.edgewall.org/wiki/0.11/TracPermissions "To add permissions to Trac 0.11 you simply need to add a myPermissions.py file to your Trac environment plugin folder that looks like this: from trac.core import Component, implements from trac.perm import IPermissionRequestor class MyPermissions(Component): implements(IPermissionRequestor) def get_permission_actions(self): #comma separated list of new permissions return ('MY_FIRST_PERM', 'MY_SECOND_PERM') Add your set of permissions to the return command in place of 'MY_FIRST_PERM', 'MY_SECOND_PERM', restart apache and you should be away." Anyway, I did that, which also added some other weird stuff to the action list, and added the permission the the group "authenticated" and it the macro is working. --- On Mon, 4/25/11, Ryan J Ollos <[email protected]> wrote: > From: Ryan J Ollos <[email protected]> > Subject: Re: [Trac] Adding INCLUDE_URL action to the list on the Permissions > admin page. > To: [email protected] > Date: Monday, April 25, 2011, 7:35 PM > > > > Dave Glasser-2 wrote: > > > > I just installed the IncludeMacro on my repositories > and for it to work, a > > user must have INCLUDE_URL permission. Unfortunately > that action is not in > > the list on the Permissions admin. I've googled all > over the place trying > > to find a way to add it with the trac-admin tool, to > no avail. When I try > > to trick it by adding to the group named > "INCLUDE_URL", it complains about > > all uppercase letters in the group. > > > > Does anyone know how to add that permission to the > list, short of > > inserting it into the table through a script? > > > > You shouldn't need to do anything for the permission to > appear other than > successfully installing the plugin. Are you sure that the > plugin is loading? > I suggest setting your log level to debug, restarting Trac > and inspecting > the logs. > > What version of Trac are you using? As far as I know it > hasn't been tested > with Trac 0.12. > -- > View this message in context: > http://old.nabble.com/Adding-INCLUDE_URL-action-to-the-list-on-the-Permissions-admin-page.-tp31465150p31474605.html > Sent from the Trac Users mailing list archive at > Nabble.com. > > -- > You received this message because you are subscribed to the > Google Groups "Trac Users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
