Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

GAIA Access-Control #431

@bjorger

Description

@bjorger

Currently the Gaia Access Control for files is defined as such:

"Access control in a gaia storage hub is performed on a per-address basis. Writes to URLs /store/

/ are only allowed if the writer can demonstrate that they control that address. This is achieved via an authentication token, which is a message signed by the private-key associated with that address. The message itself is a challenge-text, returned via the /hub_info/ endpoint."

After researching and interviewing various people, we came to the conclusion, that it would be beneficial for Gaia and every party involved, that the access control system is extended in such a way, that one user can grant access to their files to other users.

Additionally it should also be possible to write data on behalf of a user.

Note: it should NOT be possible to read data, only to write data

https://github.com/amark/gun
https://gun.eco/
https://ceramic.network/

LDAP type service as discussed in Slack

The process should look as follows:

  • Create / run a data base (one of the mentioned above)
  • Look up (in code) where Gaia implements the access control
  • Find a way to “overwrite” / add the data base permission layer

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementIterations on existing features or infrastructure.featureBrand new functionality. New pages, workflows, endpoints, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions