I can see how you view that as a workaround but couldn’t you consider it a benefit to separate the actual db auth and functionality from your app’s permissions? Seems like you could easily get into a risky situation without an intentional abstraction.