Internal method that must be implemented by derived action classes. This is where the actual action logic should be implemented.
The action execution parameters including typed context
Promise resolving to the action result
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
Assigns one or more roles to a user by creating UserRole associations. This action accepts either a single role name or an array of role names. It gracefully handles both cases and assigns all specified roles to the user.