code: def save(self, inplace=True):
          
          modified = self._modified_data()
          if bool(modified):
              new_data = self.permissions.copy()
              new_data.update(modified['permissions'])
              data = {
                  'permissions': new_data
              }
              url = six.text_type(self.href)
              self._api.patch(url=url, data=data, append_base=False)
          else:
              raise ResourceNotModified()
docs: Saves modification to the api server.