4 ms·
> If you know a good usecase for ACL in database for OLTP workflows, I'm all ears. Here's one that's meaningful to me. We have a single database with five diff
by mcherm 5y ago
> If you know a good usecase for ACL in database for OLTP workflows, I'm all ears.
Here's one that's meaningful to me. We have a single database with five different applications that access it, each of them managed by a separate team. By enforcing access constraints in the database we guarantee the access constraints will be applied in all cases. It is difficult to ensure that in application code managed by separate teams.
(Just to be clear: I don't think your advice is poor, I just wanted to give an example of a case where it isn't universally applicable.)
- picardo 5y agoI see, thanks for your input. Most of the workflows I worked on involved provisioning one database per app, so I hadn't entertained this angle. Are there any risks to changing ACL rules on a production database server from a stability perspective?
- sigstoat 5y ago> Are there any risks to changing ACL rules on a production database server from a stability perspective? i've never seen anything impact postgres stability. they test their code. i've made DDL changes on live systems; that seems far more concerning than ACLs.