Skip to content

DELETE owner should be forbidden #1605

Open

Description

@bourgeoa

https://solidproject.org/TR/protocol#storage

Servers MUST keep track of at least one owner of a storage in an implementation defined way.

Owner is implemented as a triple in root/.meta

  • root/.meta should not be deleted
  • owner defining triple must exist

Activity

  1. timbl commented on Jun 30, 2021

    @timbl
    Contributor

    You mean, that triple should be considered write-protected. Yes.

  2. timbl commented on Jun 30, 2021

    @timbl
    Contributor

    Should the whole ~/.meta file be write-protected?

  3. bourgeoa commented on Jun 30, 2021

    @bourgeoa
    MemberAuthor

    Should the whole ~/.meta file be write-protected?

    No it may have other usages.

    ~/.meta must contain an owner triple. In term of REST methods there are 2 different things :

    • /.meta cannot be deleted : DELETE is forbidden
    • it must contain an owner triple : PUT and PATCH must check that :
      -- the owner triple exist,
      -- and if possible that the owner is valid

    What is a valid owner => with actual specification I suppose it must be a valid webId
    How can we check that the webId is valid ?
    -- do nothing.
    -- expect it is an existing URI with fetch
    -- check for authorization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions