I’ve been trying to come up with a solution to limit where users can create assets (images + docs mainly), and have stumbled across this tutorial which seems to no longer be a viable solution due to there no longer being a Fail trigger action:
The Trigger Log Message has a note saying “Messages are only shown in the Admin ( /_admin ) interface and not in the Edit+ ( /_edit ).” Based on this, what would be the best way to notify a user who is in the Edit interface that the action has been blocked? I assume one way would be to set up an email to be sent, but are there any options for a quicker notification?
The quickest way off the top of my head would be to also run the Redirect to URL (https://matrix.squiz.net/manuals/triggers/chapters/trigger-actions#Redirect-to-URL) trigger and take the user to some basic page asset with a message indicating that they are unable to create those assets. The downside to this strategy is that they are taken away from the _edit interface so that may not be suitable for you.
I imagine (and hope) someone else has a better solution for you.