Skip to content

Revisit AuthManager design #191

@sunng87

Description

@sunng87

Currently we have AuthManager as a basic gateway to authn and authz. In #186 , it also opens a connection between AuthManager and pg_catalog, which may block #189 .

I haven't got a clear idea for myself at what scope we have support for authn/authz in this library. This ideal situation is user can bring their own StartupHandler for authn, while use a decorator or interceptor for query handlers to archive authz. This approach will discouple auth concept completely from this library so we can make this library solid and generic enough for its core features.

Let me know about your ideas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions