Feature/COMMS-1025: Label contracts, services and query filter - #25401
Merged
Conversation
akabiru
added this pull request to stack #25402
September 17, 2026 05:52
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
akabiru
marked this pull request as ready for review
September 17, 2026 07:26
|
Caution The provided work package version does not match the core version Details:
Please make sure that:
|
Admins will manage labels from a dedicated page. The usage count moves to a correlated subquery so will_paginate keeps a scalar total, and the name filter only advertises the operators it implements.
Surrounding whitespace is stripped and inner runs collapsed so that " Machine Learning " and "Machine Learning" are the same label, matching how project names are treated.
The epic grants label creation to anyone who may edit work packages, while renaming and deleting stay with global admins. Locked users are rejected on every operation.
akabiru
force-pushed
the
implementation/comms-1025-labels-services-and-contracts
branch
from
September 17, 2026 07:28
fd2e48b to
eb573d3
Compare
|
Warning Flaky specs
🤖 Ask Copilot to investigateCopy the prompt below into a new comment on this PR to delegate the investigation to GitHub Copilot. It will look into the flakiness and open a separate pull request with you as reviewer. |
akabiru
deleted the
implementation/comms-1025-labels-services-and-contracts
branch
September 17, 2026 12:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://community.openproject.org/wp/COMMS-1025
Adds the non-UI layer the labels administration builds on: contracts and
BaseServicesservices for creating, renaming and deleting labels (work package editors may create, the author is the acting user, renaming and deleting stay with global admins, locked users are rejected), aQueries::Labels::LabelQuerywith a name filter, and whitespace normalisation of names.