stable

Clone or download

Read-only

Refactoring view by field, align with by group implementation

There is a bit of duplication but this makes the code way more readable this way. Part of story #13438: display permissions of other groups in fields permissions Change-Id: I7ed66f9e8e2cb5eb46fff4b55a6b73587be59214

Modified Files

Name
M plugins/tracker/include/Tracker/Permission/Fields/ByField/ByFieldController.php +69 −149 Go to diff View file
A plugins/tracker/include/Tracker/Permission/Fields/ByField/ByFieldFieldListPresenter.php +47 −0 Go to diff View file
A plugins/tracker/include/Tracker/Permission/Fields/ByField/ByFieldGroupPermissions.php +143 −0 Go to diff View file
A plugins/tracker/include/Tracker/Permission/Fields/ByField/ByFieldOneUGroupPresenter.php +86 −0 Go to diff View file
A plugins/tracker/include/Tracker/Permission/Fields/ByField/ByFieldOneUGroupWithFieldListPresenter.php +44 −0 Go to diff View file
A plugins/tracker/include/Tracker/Permission/Fields/ByField/ByFieldPresenter.php +80 −0 Go to diff View file
A plugins/tracker/include/Tracker/Permission/Fields/ByField/ByFieldUGroup.php +71 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +1 −1 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +7 −0 Go to diff View file
A plugins/tracker/templates/permission/groups-by-field.mustache +71 −0 Go to diff View file