code: def save(self, inplace=True):
          
          data = self._modified_data()
          data = data['permissions']
          if bool(data):
              url = six.text_type(self.href) + self._URL['permissions']
              extra = {'resource': self.__class__.__name__, 'query': data}
              logger.info('Modifying permissions', extra=extra)
              self._api.patch(url=url, data=data, append_base=False)
          else:
              raise ResourceNotModified()
docs: Saves modification to the api server.