john-bodley commented on PR #20617:
URL: https://github.com/apache/superset/pull/20617#issuecomment-1178272141

   @ktmud per your comment,
   
   > Since the problem seems to be a legacy dataset not created by DAO now has 
an empty owners list because the creator was not explicitly added, I wonder if 
it is safer to just set the creator as the sole owner for datasets/slices where 
the owners list is empty?
   
   I hear what you're saying, though the old `check_ownership` logic was based 
on always including the creator as an owner regardless of who was listed and 
thus I think you could argue either way which approach is best—acknowledging 
that neither are perfect—, i.e., the current migration ensures code logic 
parity whereas your suggestion likely reduces the level of churn in terms of 
re-adding the creator as an owner who previously was removed.


-- 
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]

Reply via email to