Skip to content

[Port to dtq-dev] Issue 1349: admin user is not allowed to delete himself/herself#1306

Open
kosarko wants to merge 1 commit intodataquest-dev:dtq-devfrom
ufal:backport-1350-to-dtq-dev
Open

[Port to dtq-dev] Issue 1349: admin user is not allowed to delete himself/herself#1306
kosarko wants to merge 1 commit intodataquest-dev:dtq-devfrom
ufal:backport-1350-to-dtq-dev

Conversation

@kosarko
Copy link
Copy Markdown

@kosarko kosarko commented Apr 14, 2026

Port of ufal#1350 by @kuchtiak-ufal to dtq-dev.

* Issue 1349: admin user is not allowed to delete himself/herself

* fixed comment

* resolve Copilot comments

* improve the fix: test context.getCurrentUser() for null

* throw IllegalStateException rather than AuthorizeException, and allow client to see the error message

(cherry picked from commit b913627)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants