Skip to content

Cannot set specific sharing for text file #184

Done

Description

@michielbdejong

Looking at https://michielbdejong.localhost:8443/public/public-append/asdf.txt I see the text contents, not the solid-panes UI for going to the padlock / Sharing settings for that resource.

Looking at https://michielbdejong.localhost:8443/public/public-append/ I can click the padlock for the 'asdf.txt' item listed in there, but it then shows what looks like the sharing settings for https://michielbdejong.localhost:8443/public/public-append/ and not those for https://michielbdejong.localhost:8443/public/public-append/asdf.txt.

Activity

  1. brownhoward commented on Oct 7, 2019

    @brownhoward

    Just tried to replicate using https://khoward.dev.inrupt.net, and it appears to be working. When viewing the permissions for asdf.txt, the permissions are inherited from the parents folders (in this case 'public', but have the 'Set specific sharing for this file' button if I want to set permissions specifically for the text file.

    Screen Shot 2019-10-07 at 08 06 16

    Is there something different/odd about the permissions for the 'public' or 'public-append'? What version of mashlib are you using?

  2. michielbdejong commented on Oct 7, 2019

    @michielbdejong
    ContributorAuthor

    Ah i think you're right, the only thing that's incorrect then in that screenshot, and that threw me off, is that 'Set specific sharing for this file' should instead read 'Stop specific sharing for this file - just use default for public-append'

  3. brownhoward commented on Oct 7, 2019

    @brownhoward

    Were the permissions for asdf.txt perviously altered? If I click the 'Set specific sharing for this file' button for the file, I see:
    Screen Shot 2019-10-07 at 14 51 42
    where I then see the 'Stop specific sharing for this file - just use default for public' button ('public-append' just inherits the permissions from 'public').

    So do you think the Data Browser is working as expected?

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

    @SharonStrats
    Contributor

    The original issue was that opening sharing for a file could show the parent folder’s sharing settings instead of the file’s settings. Current coverage verifies the resource identity:

    The file-explorer header’s Manage Access action opens the access-control modal for the exact file URI.
    Indexed-folder resource menus also pass the exact selected resource URI.
    The inherited/custom sharing state is represented separately:
    inherited files show effective authorizations from the parent;
    custom file ACLs can be created;
    custom ACLs can be reset back to the parent default;
    the reset control uses the file-specific wording.

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