I've encountered a problem with 3.0.4 version.
Whenever I try to unpublish or delete any page I got an error:
Action "unpublish" not allowed on controller (Class: CMSPageEditController)
Action "delete" not allowed on controller (Class: CMSPageEditController)
TypeError: $ is not a function
text = $('<div/>').text(text).html(); // Escape HTML entities in text
everything else works fine. I've never had problems like this before and couldn't find help.
What can cause this? Allowed actions in mysite controllers are empty arrays.