This is an automated email from the ASF dual-hosted git repository.
dhavalrajpara pushed a commit to branch ranger-2.7
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/ranger-2.7 by this push:
new 61556611f Revert "RANGER-5184 : Enhance Access audit to be filtered by
Federated user (#560) (#607)
61556611f is described below
commit 61556611fad94950279e1a4841dfd36d8485b2c8
Author: Dhaval Rajpara <[email protected]>
AuthorDate: Wed Jul 16 16:18:23 2025 +0530
Revert "RANGER-5184 : Enhance Access audit to be filtered by Federated user
(#560) (#607)
* Revert "RANGER-5184 : Enhance Access audit to be filtered by Federated
user (#560)"
This reverts commit 23bada8b5ad2e6e51cf7cf8f42d1f559360827ce.
* Update UserListing.jsx
---
.../src/views/AuditEvent/AccessLogs.jsx | 33 +---------------------
.../src/views/AuditEvent/AccessLogsTable.jsx | 7 +----
2 files changed, 2 insertions(+), 38 deletions(-)
diff --git
a/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AccessLogs.jsx
b/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AccessLogs.jsx
index 5fbf6575d..39d7bcf48 100644
---
a/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AccessLogs.jsx
+++
b/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AccessLogs.jsx
@@ -63,8 +63,7 @@ import {
import { CustomTooltip, Loader } from "../../components/CommonComponents";
import {
ServiceRequestDataRangerAcl,
- ServiceRequestDataHadoopAcl,
- UserTypes
+ ServiceRequestDataHadoopAcl
} from "../../utils/XAEnums";
import { getServiceDef } from "../../utils/appState";
@@ -526,23 +525,6 @@ function Access() {
disableResizing: true,
getResizerProps: () => {}
},
- {
- Header: "User Source",
- accessor: "userSource",
- Cell: (rawValue) => {
- if (!isEmpty(rawValue?.value)) {
- const userSourceVal = find(UserTypes, { value: rawValue.value });
- return (
- <h6 className="text-center">
- <Badge bg={userSourceVal.variant}>{userSourceVal.label}</Badge>
- </h6>
- );
- } else return "--";
- },
- width: 100,
- disableResizing: true,
- getResizerProps: () => {}
- },
{
Header: "Service (Name / Type)",
accessor: (s) => (
@@ -975,19 +957,6 @@ function Access() {
addMultiple: true,
type: "text"
},
- {
- category: "userSource",
- label: "User Source",
- urlLabel: "userSource",
- type: "textoptions",
- options: () => {
- return [
- { value: "0", label: "Internal" },
- { value: "1", label: "External" },
- { value: "6", label: "Federated" }
- ];
- }
- },
{
category: "zoneName",
label: "Zone Name",
diff --git
a/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AccessLogsTable.jsx
b/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AccessLogsTable.jsx
index 91f39f972..af5f89ab1 100644
---
a/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AccessLogsTable.jsx
+++
b/security-admin/src/main/webapp/react-webapp/src/views/AuditEvent/AccessLogsTable.jsx
@@ -51,8 +51,7 @@ export const AccessLogsTable = ({ data = {} }) => {
eventCount,
zoneName,
requestData,
- tags,
- userSource
+ tags
} = data;
const copyText = (val) => {
@@ -91,10 +90,6 @@ export const AccessLogsTable = ({ data = {} }) => {
<td>User</td>
<td>{!isEmpty(requestUser) ? requestUser : "--"}</td>
</tr>
- <tr>
- <td>User Source</td>
- <td>{!isEmpty(userSource) ? userSource : "--"}</td>
- </tr>
<tr>
<td>Service Name </td>
<td>{!isEmpty(repoName) ? repoName : "--"}</td>