Skip to content

Feature Request: Role-based filtering and shared tables #5

@matthieup240

Description

@matthieup240

Hi,

First of all, thank you very much for this fantastic project!
I have a feature request that I believe could improve the library's utility for more complex applications.

My needs are:

  • Disable user_id filtering: Is it possible to have an option to not filter queries by user_id for certain tables? In a collaborative application, it's common to have tables that aren't owned by a specific user but are shared by everyone.
  • Filter by user role: I would also like to manage data visibility based on a user's role (e.g., an admin can see all data, while a standard user only sees their own). This would simplify permission management at the database level.

I would be very grateful if you could consider these improvements for future versions of the library.

Thank you again for your excellent work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions