Skip to content
Discussion options

You must be logged in to vote

This has come up in issues before, but the logic for Orion is: "If the user cannot edit or delete a resource, they are not allowed to run actions that potentially do the same thing against the resource". Modifying this mid-series would be a breaking change.

The next series update will use the following logic order:

  1. Use the return value from canRun on the Action.
  2. Use the return value from runAction or runDestructiveAction on the underlying model policy.
  3. Use the return value from update or delete on the underlying model policy or return false.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by crynobone
Comment options

You must be logged in to vote
2 replies
@crynobone
Comment options

@squpshift
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #3560 on September 21, 2021 08:36.