From 52563d3eea98ec134499f0b3fcea9d37d696c6e7 Mon Sep 17 00:00:00 2001 From: Fardin Mustaque <105560328+fardin-developer@users.noreply.github.com> Date: Thu, 13 Feb 2025 01:52:15 +0530 Subject: [PATCH] fix: Update 'Last modified' time when modifying RLS rules (#32227) Co-authored-by: Fardin Mustaque --- superset/row_level_security/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/row_level_security/schemas.py b/superset/row_level_security/schemas.py index 04d7d9b9d..3bb0e8337 100644 --- a/superset/row_level_security/schemas.py +++ b/superset/row_level_security/schemas.py @@ -78,7 +78,7 @@ class RLSListSchema(Schema): tables = fields.List(fields.Nested(TablesSchema)) clause = fields.String(metadata={"description": "clause_description"}) changed_on_delta_humanized = fields.Function( - RowLevelSecurityFilter.created_on_delta_humanized + RowLevelSecurityFilter.changed_on_delta_humanized ) group_key = fields.String(metadata={"description": "group_key_description"}) description = fields.String(metadata={"description": "description_description"})