Skip to content

Setting route permissions via the registry doesn't work #2297

@brent-hoover

Description

@brent-hoover

Expected behavior

You should be able to specify permissions/audience in a route in register.js and have it take affect.

Actual Behavior

It doesn't work, you need to programmatically add these.

Steps to Reproduce the Behavior

  1. Create a plugin with a route (you could use the reaction-example-plugin as a starting point).
  2. Add permissions to the route according to the documentation
  3. Observe you still get an error

Metadata

Metadata

Assignees

Labels

bugFor issues that describe a defect or regression in the released softwareverified reproducibleFor issues that describe bugs that the core team was able to confirm

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions