Skip to content

Bugfix: Apply permissions on Reply to note article action#728

Open
sprengerdaniel wants to merge 1 commit intoznuny:rel-6_5-devfrom
sprengerdaniel:article-action-note-permissions
Open

Bugfix: Apply permissions on Reply to note article action#728
sprengerdaniel wants to merge 1 commit intoznuny:rel-6_5-devfrom
sprengerdaniel:article-action-note-permissions

Conversation

@sprengerdaniel
Copy link
Copy Markdown

Proposed change

Unlike other article actions like Reply, Forward, ...
"Reply to note" is always available in the article action menu, even if the agent does not have the note permissions or the ticket is locked by another user (with syconfig setting Ticket::Frontend::AgentTicketNote###RequiredLock enabled).
Clicking the action will then result is the correct error message, but the behaviour is inconsistent.

Type of change

  • '1 - 🐞 bug 🐞' - Bugfix (non-breaking change which fixes an issue)

Checklist

  • The code change is tested and works locally.(❗)
  • There is no commented out code in this PR.(❕)
  • You improved or added new unit tests.(❕)
  • Local ZnunyCodePolicy passed.(❕)
  • Local UnitTests / Selenium passed.(❕)
  • GitHub workflow CI (UnitTests / Selenium) passed.(❗)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant