When writing business logic code, you may have to perform some actions with a different security context. A typical case is performing an action with the rights of the Administrator, who bypasses security checks.
This recipe will show you how to let normal users modify the phone number of a company by using sudo().