timescale/promscale_extension

Automatically detect and warn on DB objects without explicit GRANT to prom_* roles

Open

#91 aperta il 25 feb 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)PLpgSQL (19 fork)auto 404
good first issue

Metriche repository

Star
 (37 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

In the current Promscale SQL, there are a small number of objects which do not have an explicit GRANT to one of the prom_reader, prom_writer, ... roles. This means that these objects are not participating in the permissions system properly.

In principle we know that every object should have at least one acl entry which references one of the prom_* roles.

It should be relatively simple to write a CI job which validates that all objects in the prom_* schemas also have at least one acl assigned to one of the prom_* roles.

Guida contributor