Files
cal.diy/apps
99cd0c5c41 fix: Use Memberships with OWNER role for platform owner lookup (#22475)
* fix platform owner identification to use Memberships with OWNER role

* replaced the hardcoded OWNER string with the enum value

* replaced enum with hard coded OWNER value for safty

* added enum usage

* added admin lookout if owner validation fails

* chore

* chore

* fixed tests

* chore

* chore

* chore

* chore

---------

Co-authored-by: Devanshu Sharma <[email protected]>
Co-authored-by: Kartik Saini <[email protected]>
Co-authored-by: Rajiv Sahal <[email protected]>
Co-authored-by: Anik Dhabal Babu <[email protected]>
2025-08-22 14:14:28 +05:30
..