MantisBT: master 2ec8df69

Author Committer Branch Timestamp Parent
cproensa dregad master 2019-01-01 02:37 master 8c704951
Affected Issues  0020054: Cant modify configuration for All projects if only one project exists

Don't apply single project logic for some users

Eventhough the project selector may be hidden when there are not
multiple projects to choose from, it is still needed for editing manage
and configuration pages that apply to either specific project or
Here we add a condition that if the user has access to manage pages, the
project selector is never hidden, and both the specific project and
ALL_PROJECTS are available to be used.

Fixes: 0020054

mod - core/current_user_api.php Diff File
mod - core/layout_api.php Diff File