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

Proxy deposits can not be viewed: "unauthorized" error #6900

Open
1 task
eporter23 opened this issue Sep 11, 2024 · 0 comments
Open
1 task

Proxy deposits can not be viewed: "unauthorized" error #6900

eporter23 opened this issue Sep 11, 2024 · 0 comments

Comments

@eporter23
Copy link
Contributor

Descriptive summary

This ticket relates to a prior issue noted in #6883. While that behavior seems to no longer recur, a new issue is occurring when a work has been deposited on behalf of another user, that Work appears in "My Works", but returns an "Unauthorized" error when trying to access it.

Steps to reproduce the behavior in User Interface (UI)

See the QA testing worksheet for steps W_1.15 and W_1.8.

  1. Set another user as a proxy (see test W_1.8)
  2. The proxy user should navigate to the "Works" page and select “Add new work” button
  3. Select "Generic work" and click the "Create work" button.
  4. Fill out the required fields in the "Descriptions" tab and upload a file in the "Files" tab.
  5. In the "Save Work" panel, the Heading "On Behalf of" with drop down menu appears
  6. Select another user on whose behalf the work is being deposited
  7. Check the "Deposit Agreement" box and click the "Save" button
  8. Log in as the other user: navigate to Dashboard > Works > My Works
  9. New user can see the Work in My Works, but cannot perform actions on "Work" or files

Actual behavior (include screenshots if available)

Include what version of Hyrax relates to this issue (3.x, 4.x, main branch, etc.) if appropriate, and any relevant error messages/tracebacks if you're reporting a bug.

Sirenia docker image - valkyrie_fedora_fix branch

Acceptance Criteria/Expected Behavior

  • When a deposit has been made on behalf of a user, they should be able to view and edit and perform other actions on that Work and its files

Rationale (for feature request only)

Provide the rationale or user story that describes "why" this issue should be addressed. Especially if this is a new feature or significant change to the existing implementation.

Parity with current functionality

Related work

Link to related issues or prior related work here.

May relate to prior issues noted in #6883

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Dev/Doc
Development

No branches or pull requests

1 participant