Added central permission checker