Skip to content

Let users register their own extension functions? #2126

@luxas

Description

@luxas

Category

Cedar language or syntax features/changes

Describe the feature you'd like to request

For some use-cases, it'd be nice to extend the language with evaluator/authorizer-specific your own extension functions. For example,

I didn't look too closely to see how feasible it is to already add your own extensions already today (it might even work when using primitives from cedar-policy-core only?), but this issue is made to track interest in considering this as a core feature (AFAIK, this is not a "supported" use-case today)

Describe alternatives you've considered

Advanced users might just want to use cedar-policy-core (if it already works there), or carry a Cedar fork (not preferable) which adds their own extensions to ALL_AVAILABLE_EXTENSIONS.

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestThis issue requets a substantial new featurepending-triageThe cedar maintainers haven't looked at this yet. Automicaly added to all new issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions