Skip to content

Consistent ordering of roles on the project roles admin page - #2731

Merged
stuzart merged 3 commits into
seek-1.18from
role-order-2727
Sep 2, 2026
Merged

Consistent ordering of roles on the project roles admin page#2731
stuzart merged 3 commits into
seek-1.18from
role-order-2727

Conversation

@stuzart

@stuzart stuzart commented Aug 27, 2026

Copy link
Copy Markdown
Member

Fixes #2727

The roles on the Administering the project roles page were listed as Project administrators, Asset gatekeepers, Asset housekeepers, PALs — while the project overview page lists them as PALs, Project administrators, Asset housekeepers, Asset gatekeepers. Having asset gatekeepers and housekeepers swapped between the two views makes it easy to assign someone to the wrong role.

Both views now use the same order, with PALs last as the least relevant of the roles:

  1. Project administrators
  2. Asset housekeepers
  3. Asset gatekeepers
  4. PALs

Visibility of each role is unchanged — the PALs field on the admin page is still restricted to site administrators, and on the overview page the housekeepers and gatekeepers are still only shown to members and site administrators.

Also included, as a separate commit, is the removal of the unused project coordinators code that sat alongside these roles on the overview page. Project coordinators came from the ProjectPosition model, which was removed in #880; Project never defines project_coordinators, so the respond_to? guard on the show page is always false and the block never renders.

Order the role fields to match the project overview page and the
RoleType declaration order: PALs, project administrators, asset
housekeepers, asset gatekeepers.
PALs are the least relevant of the roles, so list them last on both the
project overview and the project roles admin page.
@stuzart
stuzart marked this pull request as draft August 27, 2026 13:07
Project coordinators were provided by the ProjectPosition model, which
was removed in #880. Project never defines project_coordinators, so the
respond_to? guard on the show page is always false and the block never
renders, making projects_helper#project_coordinators_link_list dead too.
@stuzart
stuzart marked this pull request as ready for review August 27, 2026 13:15
@stuzart
stuzart requested a review from fbacall August 27, 2026 14:56
@stuzart stuzart added this to the 1.18.2 milestone Aug 27, 2026
@stuzart stuzart moved this to In review in SEEK 1.18.x Aug 27, 2026
@stuzart
stuzart merged commit 669ffa9 into seek-1.18 Sep 2, 2026
19 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SEEK 1.18.x Sep 2, 2026
@stuzart
stuzart deleted the role-order-2727 branch September 2, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants