Skip to content

Support for route authorization #3275

@irothschild

Description

@irothschild

When using dynamic hypermedia responses, it's nice to be able to check for authorization for various routes based on the current request credentials. Unfortunately, the code that does the access (entity and scope) checks is not currently exposed so there isn't a simple way to do this.

I'd love to see a method route.authorizeRequest(request) or route.authorize(request.auth).

Metadata

Metadata

Assignees

Labels

featureNew functionality or improvement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions