MantisBT: master 0a8fa153

Author Committer Branch Timestamp Parent
cproensa cproensa master 2017-11-04 14:20 master 46dff48e
Affected Issues  0010831: how can I allow user to view only the issue that assigned to them
Changeset

New option limit_handler_unless_threshold

A new otpion 'limit_handler_unless_threshold' is created that works in a
similar way that 'limit_reporter_unless_threshold'.
When this option is enabled, users will only have access to issues which
are handled by themselves.
The option is a threshold that behaves in the same way than
'limit_reporter_unless_threshold'.

When there is a conflict in both limit_xxx options, the user will see
only those issues that are either reporter by him, or handled by him.

Fixes: 0010831

mod - config_defaults_inc.php Diff File
mod - core/access_api.php Diff File
mod - core/classes/BugFilterQuery.class.php Diff File
mod - manage_config_work_threshold_page.php Diff File
mod - manage_config_work_threshold_set.php Diff File