Commits

Anonymous committed b353a6b

List ''REPORT_SQL_VIEW'' permission in trac-admin. Closes #923.

Comments (0)

Files changed (2)

scripts/trac-admin

         print ' WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY, WIKI_DELETE, WIKI_ADMIN, '
         print ' MILESTONE_VIEW, MILESTONE_CREATE, MILESTONE_MODIFY, MILESTONE_DELETE, '
         print ' ROADMAP_VIEW, ROADMAP_ADMIN, TIMELINE_VIEW, SEARCH_VIEW, '
-        print ' CONFIG_VIEW and TRAC_ADMIN.'
+        print ' REPORT_SQL_VIEW, CONFIG_VIEW and TRAC_ADMIN.'
         print
 
     def _do_permission_add(self, user, action):

trac/tests/tracadmin-tests.txt

  WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY, WIKI_DELETE, WIKI_ADMIN, 
  MILESTONE_VIEW, MILESTONE_CREATE, MILESTONE_MODIFY, MILESTONE_DELETE, 
  ROADMAP_VIEW, ROADMAP_ADMIN, TIMELINE_VIEW, SEARCH_VIEW, 
- CONFIG_VIEW and TRAC_ADMIN.
+ REPORT_SQL_VIEW, CONFIG_VIEW and TRAC_ADMIN.
 
 ===== test_permission_add_one_action_ok =====
 
  WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY, WIKI_DELETE, WIKI_ADMIN, 
  MILESTONE_VIEW, MILESTONE_CREATE, MILESTONE_MODIFY, MILESTONE_DELETE, 
  ROADMAP_VIEW, ROADMAP_ADMIN, TIMELINE_VIEW, SEARCH_VIEW, 
- CONFIG_VIEW and TRAC_ADMIN.
+ REPORT_SQL_VIEW, CONFIG_VIEW and TRAC_ADMIN.
 
 ===== test_permission_add_multiple_actions_ok =====
 
  WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY, WIKI_DELETE, WIKI_ADMIN, 
  MILESTONE_VIEW, MILESTONE_CREATE, MILESTONE_MODIFY, MILESTONE_DELETE, 
  ROADMAP_VIEW, ROADMAP_ADMIN, TIMELINE_VIEW, SEARCH_VIEW, 
- CONFIG_VIEW and TRAC_ADMIN.
+ REPORT_SQL_VIEW, CONFIG_VIEW and TRAC_ADMIN.
 
 ===== test_permission_remove_one_action_ok =====
 
  WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY, WIKI_DELETE, WIKI_ADMIN, 
  MILESTONE_VIEW, MILESTONE_CREATE, MILESTONE_MODIFY, MILESTONE_DELETE, 
  ROADMAP_VIEW, ROADMAP_ADMIN, TIMELINE_VIEW, SEARCH_VIEW, 
- CONFIG_VIEW and TRAC_ADMIN.
+ REPORT_SQL_VIEW, CONFIG_VIEW and TRAC_ADMIN.
 
 ===== test_permission_remove_multiple_actions_ok =====
 
  WIKI_VIEW, WIKI_CREATE, WIKI_MODIFY, WIKI_DELETE, WIKI_ADMIN, 
  MILESTONE_VIEW, MILESTONE_CREATE, MILESTONE_MODIFY, MILESTONE_DELETE, 
  ROADMAP_VIEW, ROADMAP_ADMIN, TIMELINE_VIEW, SEARCH_VIEW, 
- CONFIG_VIEW and TRAC_ADMIN.
+ REPORT_SQL_VIEW, CONFIG_VIEW and TRAC_ADMIN.
 
 ===== test_component_list_ok =====