medusa-ui/medusa

DOMChanges actions should also have access to SecurityContext

Closed this issue · 2 comments

<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

Added in Feature/add context to actions (#78)