Add PostGraphile Plugin to Handle User and Roles #698

Closed
opened 2026-03-13 08:00:44 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @a-moises on GitHub (Feb 18, 2025).

Is this suited for github?

  • Yes, this is suited for github

Currently, managing user roles and permissions in PostGraphile requires custom implementation or third-party solutions. It would be beneficial to have a dedicated plugin to streamline role-based access control (RBAC) within the system, improving security and maintainability.

Describe the solution you'd like

Currently, managing user roles and permissions in PostGraphile requires custom implementation or third-party solutions. It would be beneficial to have a dedicated plugin to streamline role-based access control (RBAC) within the system, improving security and maintainability.

Describe alternatives you've considered

•	Implementing custom Postgres functions to handle role assignments and permissions.
•	Using third-party libraries for access control, but they add complexity and dependencies.
•	Manually managing roles within application logic, which is less scalable.

Additional context

A well-integrated PostGraphile plugin would improve security best practices and reduce the need for ad-hoc solutions. It would be useful in multi-tenant applications and enterprise-level API architectures.

Originally created by @a-moises on GitHub (Feb 18, 2025). ### Is this suited for github? - [ ] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. Currently, managing user roles and permissions in PostGraphile requires custom implementation or third-party solutions. It would be beneficial to have a dedicated plugin to streamline role-based access control (RBAC) within the system, improving security and maintainability. ### Describe the solution you'd like Currently, managing user roles and permissions in PostGraphile requires custom implementation or third-party solutions. It would be beneficial to have a dedicated plugin to streamline role-based access control (RBAC) within the system, improving security and maintainability. ### Describe alternatives you've considered • Implementing custom Postgres functions to handle role assignments and permissions. • Using third-party libraries for access control, but they add complexity and dependencies. • Manually managing roles within application logic, which is less scalable. ### Additional context A well-integrated PostGraphile plugin would improve security best practices and reduce the need for ad-hoc solutions. It would be useful in multi-tenant applications and enterprise-level API architectures.
Author
Owner

@dosubot[bot] commented on GitHub (Jun 13, 2025):

Hi, @a-moises. I'm Dosu, and I'm helping the better-auth team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • Proposal for a PostGraphile plugin to manage user roles and permissions.
  • Aims to simplify RBAC and enhance security and maintainability.
  • Addresses the complexity and dependencies of current solutions.
  • No comments or activity have been made on this issue yet.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the better-auth repository by commenting here.
  • If there is no response, the issue will be automatically closed in 7 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Jun 13, 2025): Hi, @a-moises. I'm [Dosu](https://dosu.dev), and I'm helping the better-auth team manage their backlog. I'm marking this issue as stale. **Issue Summary:** - Proposal for a PostGraphile plugin to manage user roles and permissions. - Aims to simplify RBAC and enhance security and maintainability. - Addresses the complexity and dependencies of current solutions. - No comments or activity have been made on this issue yet. **Next Steps:** - Please confirm if this issue is still relevant to the latest version of the better-auth repository by commenting here. - If there is no response, the issue will be automatically closed in 7 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#698