drakeo338 commented on code in PR #44866:
URL: https://github.com/apache/superset/pull/44866#discussion_r4163422651
##########
superset/views/users/api.py:
##########
@@ -50,7 +50,6 @@ class CurrentUserRestApi(BaseSupersetApi):
def pre_update(self, item: User, data: Dict[str, Any]) -> None:
item.changed_on = datetime.now()
- item.changed_by_fk = g.user.id
Review Comment:
pre_delete now clears a self-referencing changed_by_fk/created_by_fk,
covering existing rows and the admin path, with a test that deletes a
self-referencing row.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]