Anonymous avatar 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 =====
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.