-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove auto_owner_org_by_app_id #937
Comments
guard_r2_path is same it shouldn't run in trigger it's a RLS |
Other triggers who should probably be removed. prevent_steal_org, noupdate, generate_org_on_user_create, force_valid_user_id_apps, check_if_org_can_exist_org_users, force_valid_owner_org_app_versions, force_valid_owner_org_channel_devices, force_valid_owner_org_channels, force_valid_apikey_name, sync_min_update_version, sync_disable_auto_update, check_privilages they are run anyway and don't even let admin bypass them so it's a bad design |
|
|
As for |
Describe the bug/issue
This function is against the philosophy of Capgo, RLS should never modify row unless its field always set by db like updated_at.
This should be removed in favor of always providing it explicitly
The text was updated successfully, but these errors were encountered: