A......... [ZBXNEXT-1133] Move added condition validation back to being static method to avoid issues with exceptions and error messages by API wrappers. Add permissions check to CAction::validateConditionsIntegrity.