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

Deposit form: Permissions never get reevaluated after initial page load #2851

Open
max-moser opened this issue Sep 19, 2024 · 2 comments
Open
Labels
bug Something isn't working stale No activity for more than 60 days.

Comments

@max-moser
Copy link
Contributor

Package version (if known): v12 and v13dev

The deposit page passes around permissions as props to some components, which may render differently (e.g. as disabled) based on the permissions.
Currently, those permissions are never updated in the frontend except for during initial page load.

This shouldn't be an issue for the current "vanilla" InvenioRDM workflow, but it may be an issue with some customized workflows.
E.g. if some action on the deposit form changes the permissions (say, the user provided a community to submit the record to), then those changes aren't reflected in the system until the page is reloaded.

@max-moser max-moser added the bug Something isn't working label Sep 19, 2024
@ntarocco
Copy link
Contributor

Related issue: #2854

Copy link
Contributor

This issue was automatically marked as stale.

@github-actions github-actions bot added the stale No activity for more than 60 days. label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale No activity for more than 60 days.
Projects
None yet
Development

No branches or pull requests

2 participants