The U.S. Supreme Court has ruled that those who pose a credible threat of physical violence and harm to the physical safety of another may be temporarily disarmed consistent with the 2nd amendment. Hence, a person who has had due process and a hearing, and found to pose a credible threat to the safety of another, and therefore subject to a protective restraining order, may be subject to statutory firearms restrictions for the duration of the restraining order.
At issue was Section 922(g)(8) prohibits an individual subject to a domestic violence restraining order from possessing a firearm, so long as certain criteria are met. Such a restriction does not violate the 2nd amendment.