MantisBT: master 889c8d24

Author Committer Branch Timestamp Parent
dregad dregad master 2020-12-13 07:06 master 35568185
Affected Issues  0027361: Private category can be access/used by a non member of a private project (IDOR)
 0027826: ERROR_CATEGORY_NOT_FOUND_FOR_PROJECT thrown for Category '0'
Changeset

New API to check category existence within project

Added 2 new functions in Category API: category_exists_in_project() and
category_ensure_exists_in_project.

Improve PHPDoc for category_exists() and category_ensure_exists() to
clearly indicate that they check for a category's existence globally,
unlike the new functions.

Issue 0027361

mod - api/soap/mc_api.php Diff File
mod - core/category_api.php Diff File