django-sql-explorer icon indicating copy to clipboard operation
django-sql-explorer copied to clipboard

Question: How to implement permissions for a multi tenant application?

Open KIC opened this issue 4 months ago • 1 comments

This is a great tool and takes away the burden of creating tons of reports for individual clients but just letting them make their own reports. However, there is also my point. How am I supposed to manage the fact that one client should only see his data? Is there some hook where I could change the query?

Another way would be to provide the queries and disallow the edit, but then there one would need a way to inject the current user as immutable variable. If there is currently no way to inject the user as fixed variable and since it is open source, where would you add (allow) such a feature to be added?

KIC avatar Oct 15 '24 12:10 KIC