Repository navigation
Conversation
Copying a card only needs read access on the source board, so Move/copy stays available and only the move button is hidden. Signed-off-by: Okba Allaoua <o.allaoua@esi-sba.dz> Assisted-by: ClaudeCode:claude-opus-5-5
This branch has not been deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Read-only users saw every edit action in the card menu. Using one looked like it worked, even though the server rejected it.
canEditin the card menu only checked whether the card was archived, and the colour picker had no check at all.canEditnow also needs edit permission on the board, and the colour picker uses it.Move/copy stays in the menu for read-only users because copying only needs read access on the source board. In that dialog the Move button is hidden when the user can't edit the source board, and boards they can't edit are no longer offered as a target.
Tested on a local instance with a board shared read-only: the user sees only Card details and Move/copy on the board and in the sidebar, copying to their own board works, and an editor keeps every action.
Checklist
🤖 AI (if applicable)