Cap-go / capgo

Instant update for capacitor apps
https://capgo.app
GNU Affero General Public License v3.0
115 stars 57 forks source link

devices_override and channel_devices lack update RLS policies #790

Closed WcaleNieWolny closed 2 months ago

WcaleNieWolny commented 2 months ago

Both devices_override and channel_devices lack update RLS policies.

This causes the following problem:

  1. Force device A to version 1.0.1
  2. Try to force device A to version 1.0.2
  3. Error will happen because you cannot update an overwrite directly

WARNING

I have manually added an update RLS policy for devices_override in the production database