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

No capabilities in public context with password #5863

Closed
2 tasks done
pascalwengerter opened this issue Oct 1, 2021 · 3 comments · Fixed by #6471
Closed
2 tasks done

No capabilities in public context with password #5863

pascalwengerter opened this issue Oct 1, 2021 · 3 comments · Fixed by #6471
Assignees
Labels
Early-Adopter:CERN Priority:p2-high Escalation, on top of current planning, release blocker Type:Technical-Debt

Comments

@pascalwengerter
Copy link
Contributor

pascalwengerter commented Oct 1, 2021

Steps to reproduce

  1. Receive a public link share with password
  2. Don't see any behavior that is communicated via capabilities from the backend

Expected behaviour

Not necessarily all capabilities, but at least the most interesting ones should be available for the web frontend in an unauthenticated password protected context

Actual behaviour

No capabilities are available in an unauthenticated password protected context since they only get loaded when initializing a user session (

const capabilities = await client.getCapabilities()
)

Qualification

  • Check if fetching capabilities is authenticated in OC10
  • Check if fetching capabilities is authenticated in oCIS
@kulmann
Copy link
Member

kulmann commented Oct 5, 2021

Capabilities for public links are not available as of now. Ideally we would use the public auth middleware for oCIS for making capabilities available on public links. For oc10 the solution is not clear, but less pressing since the two linked tickets are oCIS-only features so far.

@kulmann kulmann self-assigned this Oct 14, 2021
@kulmann kulmann added Early-Adopter:CERN Priority:p2-high Escalation, on top of current planning, release blocker Priority:p1-urgent Consider a hotfix release with only that fix and removed Priority:p2-high Escalation, on top of current planning, release blocker Priority:p1-urgent Consider a hotfix release with only that fix labels Oct 14, 2021
@fschade
Copy link
Contributor

fschade commented Nov 10, 2021

currently this is fixed for public links without password, but not for public links with password, we use this as tracking issue.

@fschade fschade changed the title No capabilities in public context No capabilities in public context with password Nov 10, 2021
@diocas
Copy link
Contributor

diocas commented Feb 21, 2022

can we have an ETA for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Early-Adopter:CERN Priority:p2-high Escalation, on top of current planning, release blocker Type:Technical-Debt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants