You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2023/04/07 23:02:00 UTC

[jira] [Created] (RANGER-4177) policy create/update should fail when it references non-existing user/group/role

Madhan Neethiraj created RANGER-4177:
----------------------------------------

             Summary: policy create/update should fail when it references non-existing user/group/role
                 Key: RANGER-4177
                 URL: https://issues.apache.org/jira/browse/RANGER-4177
             Project: Ranger
          Issue Type: Bug
          Components: admin
    Affects Versions: 2.4.0, 2.3.0
            Reporter: Madhan Neethiraj
            Assignee: Madhan Neethiraj


During create/update of a policy, non-existing users/groups/roles referenced in the policy are automatically created in Ranger. This is a regression introduced in RANGER-3562; prior to this change, such policy create/update attempts would fail.

To retain backward compatibility, the change in behavior should be effective only when a flag is specified during policy create/update operation i.e. by default the operation should fail when the policy references non-existing users/groups/roles.



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