I am having some problems with the TRAC_BATCH_MODIFY permission I have
added in my branch on github [1]. I have added the permission to the
get_permission_actions method in trac.ticket.api [2], but now running
"permission list" through trac-admin returns the following available
actions:

 A, B, BROWSER_VIEW, C, C, CHANGESET_VIEW, CONFIG_VIEW, D, E,
EMAIL_VIEW,
 F, FILE_VIEW, H, I, I, K, LOG_VIEW, M, MILESTONE_ADMIN,
MILESTONE_CREATE,
 MILESTONE_DELETE, MILESTONE_MODIFY, MILESTONE_VIEW, O,
PERMISSION_ADMIN,
 PERMISSION_GRANT, PERMISSION_REVOKE, REPORT_ADMIN, REPORT_CREATE,
 REPORT_DELETE, REPORT_MODIFY, REPORT_SQL_VIEW, REPORT_VIEW,
ROADMAP_ADMIN,
 ROADMAP_VIEW, SEARCH_VIEW, T, T, T, TICKET_ADMIN, TICKET_APPEND,
 TICKET_BATCH_MODIFY, TICKET_CHGPROP, TICKET_CREATE, TICKET_EDIT_CC,
 TICKET_EDIT_COMMENT, TICKET_EDIT_DESCRIPTION, TICKET_MODIFY,
TICKET_VIEW,
 TIMELINE_VIEW, TRAC_ADMIN, VERSIONCONTROL_ADMIN, WIKI_ADMIN,
WIKI_CREATE,
 WIKI_DELETE, WIKI_MODIFY, WIKI_RENAME, WIKI_VIEW, Y, _, _

It appears to have added each character of TRAC_BATCH_MODIFY as an
action. What is the correct way to add a new permission?

Thanks,
Brian

[1] http://github.com/CuriousCurmudgeon/trac-batch-modify
[2] 
http://github.com/CuriousCurmudgeon/trac-batch-modify/blob/trunk/trac/ticket/api.py#L409

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to