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

check if a user can run a qiskit function or not #1332

Merged
merged 8 commits into from
May 15, 2024

Conversation

akihikokuroda
Copy link
Collaborator

Summary

check if a user can run a qiskit function or not

Details and comments

Same as we are doing with list method we need to check in the run method if the user has the possibility to execute it. For this we need basically do almost the same what we were doing in get_queryset but using RUN_PROGRAM_PERMISSION instead of VIEW_PROGRAM_PERMISSION.

Signed-off-by: Akihiko Kuroda <akihikokuroda2020@gmail.com>
@akihikokuroda akihikokuroda merged commit 5d5b4ee into Qiskit:main May 15, 2024
15 checks passed
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

Successfully merging this pull request may close these issues.

2 participants