You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Fang-Yu Rao (Jira)" <ji...@apache.org> on 2026/08/31 23:50:00 UTC
[jira] [Created] (RANGER-5777) RangerBasePlugin#createRole() does not produce audit log even though RangerAccessResultProcessor is provided as a non-null input argument
Fang-Yu Rao created RANGER-5777:
-----------------------------------
Summary: RangerBasePlugin#createRole() does not produce audit log even though RangerAccessResultProcessor is provided as a non-null input argument
Key: RANGER-5777
URL: https://issues.apache.org/jira/browse/RANGER-5777
Project: Ranger
Issue Type: Task
Components: plugins
Reporter: Fang-Yu Rao
We found [RangerBasePlugin#createRole()|https://github.com/apache/ranger/blob/0c62c8c/agents-common/src/main/java/org/apache/ranger/plugin/service/RangerBasePlugin.java#L982-L990] does not produce Ranger audit events even though we provide a non-null {{RangerAccessResultProcessor}} when calling this method.
{code:java}
public RangerRole createRole(RangerRole request, RangerAccessResultProcessor resultProcessor) throws Exception {
LOG.debug("==> RangerBasePlugin.createRole({})", request);
RangerRole ret = getAdminClient().createRole(request);
LOG.debug("<== RangerBasePlugin.createRole({})", request);
return ret;
}
{code}
The above applies to {{dropRole()}} as well.
This is similar to what we observed in RANGER-5595 that is related to GRANT/REVOKE ROLES.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)