This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 5.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit e90b359d3e94b7ed0015369a01aef6b9a70d1ddc
Author: Fardin Mustaque <[email protected]>
AuthorDate: Thu Feb 13 01:52:15 2025 +0530

    fix: Update 'Last modified' time when modifying RLS rules (#32227)
    
    Co-authored-by: Fardin Mustaque <[email protected]>
    (cherry picked from commit 52563d3eea98ec134499f0b3fcea9d37d696c6e7)
---
 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 04d7d9b9df..3bb0e8337c 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"})

Reply via email to