Skip to content

IGNITE-29329 Add a security plugin hook to authorize management tasks - #13864

Open
NSAmelchev wants to merge 1 commit into
apache:masterfrom
NSAmelchev:ignite-29314
Open

NSAmelchev wants to merge 1 commit into
apache:masterfrom
NSAmelchev:ignite-29314

Conversation

@NSAmelchev

Copy link
Copy Markdown
Contributor

A security plugin cannot tell which management command is being executed: Ignite internal tasks started through
the public API are authorized only by the permissions their jobs require, and tasks that require no permissions are not authorized at all.

The PR adds GridSecurityProcessor#authorizeManagementTask(taskCls, arg, securityCtx). A plugin can throw SecurityException there to reject a particular command.

@NSAmelchev

Copy link
Copy Markdown
Contributor Author

/runall

@ignite-pr-checker

Copy link
Copy Markdown

@NSAmelchev ✅ No blockers · full verdict

RunAll 9515572 · a9a8541 · glossary

♻️ Settled after 2 auto re-run waves: #1 — 3 suites that failed mid-run; #2 — 1 broken suite.

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