Merge "SECURITY: Fix permissions check for patrol action"