Major changes to GetLogs & API permission system