- Status changed to Active
about 1 year ago 1:31pm 31 October 2023
I have this custom action:
/**
* Assigns ownership of a node to a user.
*
* @Action(
* id = "my_custom_rule_node_assign_owner_action",
* label = @Translation("Assign the content to a new author"),
* type = "node"
* )
*/
In its access function, i sometimes return
AccessResult::forbidden('The current user cannot assign nodes ownership.');
But when i do, i'd expect the message to be a warning one in stead of an information one. The reason is: when my users see a green message, they tend to think all went fine.
Am i returning something that is not valid, or is it so that somehow VBO is not creating warnings even when operations are not completed?
thanks
Active
4.1
Core
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.