Skip to content

Request: ABAC Recipe and GraphQL for biscuit? #141

@StevenACoffman

Description

@StevenACoffman

Hi! I am the maintainer of https://github.com/99designs/gqlgen, and I would like to implement a biscuit plugin for GraphQL Authorization for gqlgen (in Go), somewhat similar to https://github.com/apollographql/router-biscuit-plugin

One thing I'm struggling with is that although there is an RBAC recipe, there's not an ABAC recipe for biscuit. Are you aware of someone who has done something similar?

Also, biscuit specifically uses datalog, and I'm already using GraphQL, and they are both Graph query languages.

Datalog describes recursive conjunctive queries on hypergraphs (relational model) without or with limited negation, and thus return a set or bag of hypergraph edges.

GraphQL queries describe Tree unfoldings of graphs, and thus return trees.

I was wondering if there was a way I could translate between datalog and GraphQL (or vice versa) for biscuit for simple auth evaluation.

For instance, DGraph allows Graph-Based Access Control using @auth directives, and I'd like to do something similar. Any thoughts?

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