Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

child works do not inherit the parent work’s visibility #6131

Open
1 task
alishaevn opened this issue Aug 2, 2023 · 0 comments
Open
1 task

child works do not inherit the parent work’s visibility #6131

alishaevn opened this issue Aug 2, 2023 · 0 comments

Comments

@alishaevn
Copy link
Contributor

alishaevn commented Aug 2, 2023

Descriptive summary

child works do not inherit the parent work’s visibility (when the parent work has a lease or embargo on it)

Steps to reproduce the behavior in User Interface (UI)

  • create work1, with a file, and add a lease (the lease should be applied to the work and file set)
  • using the “add a child” link on work1's show page, create work2, that also has a file with a visibility of private. (side note, the “add a child” link may not work. I had to right click to copy the link and paste it in the url bar)
  • create work3, also with a file, and set its visibility is public
  • go back to work1 and edit it. on the “relationships” tab add work2 as a child
  • on the show page for work1, scroll down to “items”. you should see its file set along with work2 and work3. work's 2 and 3 will have the visibility that each was created with. they did not inherit the parent visibility. neither did the file sets attached to them.

Actual behavior (include screenshots if available)

this is happening on main, commit sha 92ead3a248c40db2857d8709ca9968afbe1e7089
image

Acceptance Criteria/Expected Behavior

  • I assume that the expectation is that when following the steps above, the child works and file sets attached to them, inherit the parent visibility.

Rationale (for feature request only)

I assume that the expectation is that when following the steps above, the child works and file sets attached to them, inherit the parent visibility.

Related work

I noticed this wasn't working while doing work for #6126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant