DOMChanges actions should also have access to SecurityContext
Closed this issue · 2 comments
kevindeyne commented
<button m-click="doAction('jump')">Jump!</button>
public DOMChanges doAction(String actionText, SecurityContext securityContext) {
//I should be able to check here if you have the right to jump, or who you are, etc
System.out.println("Action chosen: " + actionText);
}
This should be optional
kevindeyne commented
See https://github.com/medusa-ui/medusa/tree/feature/add-context-to-actions
for work in progress
kevindeyne commented
Added in Feature/add context to actions (#78)