Open pcrespov opened 3 years ago
@pcrespov is that still an issue for you? and why? services_metadata has to be present in order to create access_rights since there is a direct relation between both tables
Yes, This can still be an issue.
The problem is not about the link between service metadata and access rights table but rather about having projects with services that are not listed anymore (in the service metadata table)
This is something that we should audit to make sure these inconsistencies do not happen.
@pcrespov this is outdated or not?
There is a published project in the db that includes a service (bornstein-viewer 3.0.3) that is actually NOT listed in the
service_metadata
Therefore, the background task tries to give access rights to something that "does not exists" and consequently fails constantly
SEE _ensure_published_templates_accessible
This raises the questions on what to do with projects that include services NOT listed in
services_meta_data
?