Skip to content

SOLIDPOD: share privately and revert public/auth sharing #694

Description

@jesscmoore

Description

Handles the scenario where a resource is unencrypted because it is shared to auth/public recipients, and then a user wants to instead share it privately.

Shares to a specific individual or group need to first check if the resource is shared to public or auth users. If so:

The resource needs encrypting as it will be written in plain text.

Then public/auth user permission needs revoking.

Before the new private sharing to specific user or group of user can be applied.

This is related to issue solidui anusii/solidui#388

Why

So that as a user I can change a resource from public/auth user sharing to private sharing.
And other users who have an app that scans the index for public/auth files, will not be served the encrypted resource.

Closing Criteria

Checklist for closing the issue:

  • No errors from make prep
  • All tests pass make qtest

Shares to individuals or groups:

  • first check if the resource is shared to public/auth
  • revoke sharing to public/auth
  • encrypt the resource
  • then share to individual/group

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions