Fixes #5532: Wraps content search and complimentary controller actions in Foreman permission system.