MantisBT: master 0370da8e

Author Committer Branch Timestamp Parent
Julian Fitzell master 2003-02-15 05:25 master 45e7de45
Changeset

So finally, 2 days later, here is the access_api rewrite. I've tested it pretty
thoroughly but it is complex so I won't be at all surprised to find bugs that I
missed - please bang on it!!

This commit is huge but the changes are pretty trivial (though not at all easy
to figure out the first time). The core changes are in core/access_api where
pretty much every function was deleted and new ones written. Other minor
changes to api files and display pages are mostly to accomodate those renames
and improved access control logic on a case-by-case basis. Any other changes
of note are listed specifically below.

Known issues:

  • printall* is not fully implemented because they need rewriting first

  • file uploading and downloading pages aren't quite right because we don't
    have a complete API for project and bug file management

  • some of the menus probably aren't showing up based under the right conditions

  • this actually makes the number of queries worse - it will imrpove as soon as
    I add caching to this stuff - maybe tomorrow

  • bug_actiongroup.php:

  • bug_actiongroup_page.php:
    Apply action to as many bugs as possible and display a list of those that
    were not applied to the user

  • config_defaults_inc.php
    (manage_news_threshold): new config option giving the access level required to
    manage news postings

  • news_view_page.php:

  • news_list_page.php:
    Don't display emails unless config settings tell us to

  • view_all_bug_inc.php:
    Display the update pencil shortcut only for bugs the user has update privs on.
    Display the group actions as long as the user has update privs on the
    current project

  • core/bugnote_api.php
    (bugnote_is_user_reporter): new function that checks if the user reported the
    bugnote

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1844 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - account_prof_delete.php Diff File
mod - manage_user_update.php Diff File
mod - manage_user_delete.php Diff File
mod - news_menu_page.php Diff File
mod - manage_proj_user_remove.php Diff File
mod - account_update.php Diff File
mod - summary_graph_byresolution_pct.php Diff File
mod - bug_assign.php Diff File
mod - core/html_api.php Diff File
mod - account_prefs_update.php Diff File
mod - account_prefs_reset.php Diff File
mod - file_download.php Diff File
mod - bug_close_page.php Diff File
mod - manage_proj_cat_edit_page.php Diff File
mod - manage_proj_custom_field_add_existing.php Diff File
mod - bug_view_page.php Diff File
mod - summary_graph_bypriority_pct.php Diff File
mod - news_list_page.php Diff File
mod - proj_doc_edit_page.php Diff File
mod - account_prof_update.php Diff File
mod - bug_close.php Diff File
mod - bug_reopen.php Diff File
mod - account_prof_edit_page.php Diff File
mod - account_prof_add.php Diff File
mod - core/bug_api.php Diff File
mod - summary_graph_cumulative_bydate.php Diff File
mod - news_add.php Diff File
mod - bug_reminder.php Diff File
mod - account_prof_menu_page.php Diff File
mod - manage_user_proj_delete.php Diff File
mod - manage_user_create_page.php Diff File
mod - manage_proj_cat_update.php Diff File
mod - proj_doc_update.php Diff File
mod - summary_graph_bystatus_pct.php Diff File
mod - summary_graph_byseverity_pct.php Diff File
mod - summary_graph_byresolution.php Diff File
mod - manage_proj_user_add.php Diff File
mod - summary_graph_bycategory_pct.php Diff File
mod - lang/strings_english.txt Diff File
mod - bugnote_delete.php Diff File
mod - bug_resolve_page.php Diff File
mod - summary_graph_byreporter.php Diff File
mod - manage_user_page.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - manage_custom_field_edit_page.php Diff File
mod - summary_graph_imp_resolution.php Diff File
mod - set_project.php Diff File
mod - core/filter_api.php Diff File
mod - bug_reopen_page.php Diff File
mod - manage_user_create.php Diff File
mod - manage_proj_ver_edit_page.php Diff File
mod - manage_proj_ver_delete.php Diff File
mod - bugnote_inc.php Diff File
mod - manage_proj_ver_update.php Diff File
mod - core/bugnote_api.php Diff File
mod - core/access_api.php Diff File
mod - bugnote_update.php Diff File
mod - summary_graph_byresolution_mix.php Diff File
mod - account_prof_make_default.php Diff File
mod - documentation_page.php Diff File
mod - bug_delete.php Diff File
mod - manage_proj_ver_add.php Diff File
mod - summary_page.php Diff File
mod - manage_custom_field_page.php Diff File
mod - summary_jpgraph_page.php Diff File
mod - manage_custom_field_create.php Diff File
mod - summary_graph_imp_severity.php Diff File
mod - summary_graph_imp_status.php Diff File
mod - manage_user_edit_page.php Diff File
mod - login_page.php Diff File
mod - bug_update.php Diff File
mod - manage_proj_custom_field_remove.php Diff File
mod - core/print_api.php Diff File
mod - bug_resolve.php Diff File
mod - manage_proj_update.php Diff File
mod - bugnote_add.php Diff File
mod - core/file_api.php Diff File
mod - print_bug_page.php Diff File
mod - news_edit_page.php Diff File
mod - summary_graph_byseverity_mix.php Diff File
mod - manage_user_proj_add.php Diff File
mod - manage_user_reset.php Diff File
mod - bug_file_add.php Diff File
mod - summary_graph_bystatus.php Diff File
mod - news_delete.php Diff File
mod - summary_graph_imp_priority.php Diff File
mod - bug_update_page.php Diff File
mod - proj_doc_delete.php Diff File
mod - news_view_page.php Diff File
mod - account_delete.php Diff File
mod - summary_graph_bypriority.php Diff File
mod - print_all_bug_page_excel.php Diff File
mod - bug_report.php Diff File
mod - manage_proj_create.php Diff File
mod - main_page.php Diff File
mod - manage_proj_create_page.php Diff File
mod - summary_graph_bypriority_mix.php Diff File
mod - bugnote_edit_page.php Diff File
mod - summary_graph_byseverity.php Diff File
mod - show_source_page.php Diff File
mod - config_defaults_inc.php Diff File
mod - view_all_inc.php Diff File
mod - bugnote_set_view_state.php Diff File
mod - manage_custom_field_delete.php Diff File
mod - jump_to_bug.php Diff File
mod - manage_proj_delete.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - proj_doc_page.php Diff File
mod - manage_proj_cat_add.php Diff File
mod - bug_monitor.php Diff File
mod - manage_proj_user_copy.php Diff File
mod - bug_file_delete.php Diff File
mod - bug_report_advanced_page.php Diff File
mod - manage_proj_cat_copy.php Diff File
mod - manage_user_prune.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - news_update.php Diff File
mod - print_all_bug_page.php Diff File
mod - summary_graph_imp_category.php Diff File
mod - manage_custom_field_update.php Diff File
mod - manage_proj_page.php Diff File
mod - doc/ChangeLog Diff File
mod - manage_proj_cat_delete.php Diff File
mod - bug_report_page.php Diff File
mod - summary_graph_bydeveloper.php Diff File
mod - bug_reminder_page.php Diff File
mod - bug_actiongroup.php Diff File
mod - summary_graph_bycategory.php Diff File