Skip to content

Sharing Pane : Can't add agent to role #308

Done

Description

@jeff-zucker

How to reproduce : When logged in, open sharing pane of a container; in the portion for the contents, not the container itself, drag and drop the everyone icon into the Viewers role box.

Results : The icon does not stay in the box, no viewer has been added, and the console shows : Drop fails to drop appropriate thing.

Activity

  1. added theissue type on Nov 2, 2026
  2. SharonStrats commented on Dec 2, 2026

    @SharonStrats
    Contributor

    The issue was caused by the Everyone/globe icon dragging the image URL instead of the ACL class URI. The current implementation now:

    Makes the button—not the image—the draggable element.
    Sets the drag payload to foaf:Agent.
    Recognizes foaf:Agent as an agentClass.
    Supports dropping Everyone into the Viewers, Editors, or other permission rows.
    Avoids an unnecessary RDF fetch for the icon URL.
    There is already a focused regression test covering the exact scenario:

    Drag Everyone using text/uri-list
    Drag Everyone using text/plain
    Drop onto Editors
    Confirm agentClass foaf:Agent is saved
    Confirm no icon lookup occurs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions