docs: def from_enclave(cls, enclave):
          """
          Create an |EnclavePermissions| object from an |Enclave| object.
  
          :param enclave: the Enclave object
          :return: an EnclavePermissions object
          """
  
          return EnclavePermissions(id=enclave.id,
                                    name=enclave.name,
                                    type=enclave.type)