-
Notifications
You must be signed in to change notification settings - Fork 359
Cleanup RBAC testing methods for checked items #1134
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
Comments
@miq-bot assign @romanblanco |
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
@miq-bot remove_label stale |
This issue has been automatically marked as stale because it has not been updated for at least 6 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! |
@romanblanco : can you sum up the status of this work, please? |
@martinpovolny method Other methods are still present, but some of the students PRs removing them are still opened:
|
@miq-bot remove_label stale |
@romanblanco, can you estimate the amount of work needed to get this finished, please? One sprint? Two sprints? |
@martinpovolny I believe it is doable in one sprint. The changes are not somewhat complicated, and there is a lot of examples available already. Making sure the changes are correct take the most of the time. |
The new code is simpler and unified. It's less error-prone. Previously it was really fragile, fixes and changes where bringing new BZs. If it's a sprint or a bit more of work I would say we should get it finished and off the table. @dclarizio, what do you think? |
Let's finish this project since it's mostly done already and definitely improves the code base. Thx! |
Uh oh!
There was an error while loading. Please reload this page.
At the moment of creating this issue, we are using 5 different methods for doing RBAC check, that basically do the same thing, just for different cases:
find_record_with_rbac: returns single record tested on RBAC(reused)find_record_with_rbac_flash: basically the same as(gone)find_record_with_rbac
, except it's showing a flash, instead of rising an exception in case the unauthorized record has been accessedThe text was updated successfully, but these errors were encountered: