View Issue Details

IDProjectCategoryView StatusLast Update
0028122mantisbtadministrationpublic2021-04-04 19:36
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityN/A
Status resolvedResolutionfixed 
Target Version2.26.0Fixed in Version2.26.0 
Summary0028122: Improve handling of project assignment in manage_user_edit_page.php
Description

Currently, the Edit User page presents the administrator with a section allowing them to assign projects to the user being managed, as well as remove existing assignments.

The user interface for this removal is ugly, and since it only allows processing of a single assignment at a time, is not very convenient when several operations are needed.

Furthermore, the underlying HTML markup is not valid (form and input tags within an HTML table, see 0028114), and fixing that is not possible as it introduces nested forms (0028106).

TagsNo tags attached.

Relationships

related to 0028114 resolveddregad Invalid HTML in manage_user_edit_page.php 
related to 0028106 resolveddregad Error removing project 

Activities

Related Changesets

MantisBT: master 94f10608

2021-03-25 19:09:50

dregad

Details Diff
New "Assigned Projects" section on edit user page

The "Add user to project" section on manage_user_edit_page.php mixes two
distinct functions, removing currently assigned projects and adding new
ones.

This replaces the "Assigned projects" row by a new section that lists
the projects currently assigned to a user in a proper table, and allows
the admin to remove them. Multiple assignments can now be removed in a
single operation.

Fixes 0028122
Affected Issues
0028122
mod - lang/strings_english.txt Diff File
mod - manage_user_edit_page.php Diff File
mod - manage_user_proj_delete.php Diff File

MantisBT: master bff36aff

2021-03-25 19:10:46

dregad

Details Diff
Remove unused print_project_user_list() API

The logic is now handled directly in manage_user_edit_page.php, so this
function is no longer necessary.

Issue 0028122
Affected Issues
0028122
mod - core/print_api.php Diff File