Check permission before allowing user to publish/unpublish/revert