SURFscz / SBS

Samenwerking Beheer Systeem ↣ Collaboration Management System
Apache License 2.0
3 stars 2 forks source link

NULL value for connection_setting for Services #1447

Closed baszoetekouw closed 1 month ago

baszoetekouw commented 1 month ago

A number of (old) services in acc and prod, ass well all all seeded Services in test have NULL values for the connection_setting value in the Services tables.

What does this means? The NULL value doesn't seem te be reflected in the UI, and if I change the access settings the column gets a value (and is never reset to NULL).

Should we set the default for the column to None? Or write migration that figures out the correct settings for existing services?

baszoetekouw commented 1 month ago

Hmm, the interaction with the other options is quite complex, it seems. It seems this setting is not used in all cases, and it is reset to NULL if it isn't used.