streamline check_if_admin()
Raise an exception if the user has no permission to do something