We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Users with delegate role cannot use the upload REST API
To Reproduce
Expected behavior User should be able to import cases via API
Screenshots N/A
Additional context N/A
The text was updated successfully, but these errors were encountered:
Permissions are not correctly checked in importer module.
importer
rules.add_perm("importer.add_import", rules.is_superuser | pr_rules.is_project_contributor) rules.add_perm("importer.delete_import", rules.is_superuser | pr_rules.is_project_contributor) rules.add_perm("importer.update_import", rules.is_superuser | pr_rules.is_project_contributor)
Owner & delegate role missing here.
Sorry, something went wrong.
Simply add the missing roles here.
Resolution Proposal Summary
Affected Components VarFish Server (only)
Affected Modules/Files importer.rules
importer.rules
Required Architectural Changes none
Resolution Sketch
Allowing project owners and delegates to import cases via API (#207).
b66d0cb
559f104
360c24b
Allowing project owners and delegates to import cases via API (#207). (…
2819685
…#251)
holtgrewe
No branches or pull requests
Describe the bug
Users with delegate role cannot use the upload REST API
To Reproduce
Expected behavior
User should be able to import cases via API
Screenshots
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: