You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ignite TC Bot (Jira)" <ji...@apache.org> on 2023/11/10 18:19:00 UTC

[jira] [Commented] (IGNITE-19807) Deprecate legacy authorization approach through Security Context.

    [ https://issues.apache.org/jira/browse/IGNITE-19807?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785032#comment-17785032 ] 

Ignite TC Bot commented on IGNITE-19807:
----------------------------------------

{panel:title=Branch: [pull/10800/head] Base: [master] : No blockers found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/10800/head] Base: [master] : New Tests (4)|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}
{color:#00008b}ZooKeeper (Discovery) 4{color} [[tests 2|https://ci2.ignite.apache.org/viewLog.html?buildId=7607832]]
* {color:#013220}ZookeeperDiscoverySpiTestSuite4: NodeJoinPermissionsTest.testNodeJoinPermissions[isLegacyAuthorizationApproach=false] - PASSED{color}
* {color:#013220}ZookeeperDiscoverySpiTestSuite4: NodeJoinPermissionsTest.testNodeJoinPermissions[isLegacyAuthorizationApproach=true] - PASSED{color}

{color:#00008b}Security{color} [[tests 2|https://ci2.ignite.apache.org/viewLog.html?buildId=7607815]]
* {color:#013220}SecurityTestSuite: NodeJoinPermissionsTest.testNodeJoinPermissions[isLegacyAuthorizationApproach=false] - PASSED{color}
* {color:#013220}SecurityTestSuite: NodeJoinPermissionsTest.testNodeJoinPermissions[isLegacyAuthorizationApproach=true] - PASSED{color}

{panel}
[TeamCity *--&gt; Run :: All* Results|https://ci2.ignite.apache.org/viewLog.html?buildId=7607839&amp;buildTypeId=IgniteTests24Java8_RunAll]

> Deprecate legacy authorization approach through Security Context.
> -----------------------------------------------------------------
>
>                 Key: IGNITE-19807
>                 URL: https://issues.apache.org/jira/browse/IGNITE-19807
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Mikhail Petrov
>            Assignee: Mikhail Petrov
>            Priority: Major
>             Fix For: 2.16
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> We currently have several ways to check if a user has permission to perform an operation.
> 1. IgniteSecurity#authorize methods that delegate permission check to security plugin.
> 2. SecurityContext#*OperationAllowed methods. They currently are used just for one check. This approach assumes that granted  permissions set is returned during user authentication and remains immutable.
> Let's deprecate the second authorization approach and migrate completely to the first.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)