-
Notifications
You must be signed in to change notification settings - Fork 495
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
NAS-133206 / 25.10 / Convert boot.* to versioned API #15524
base: master
Are you sure you want to change the base?
Conversation
@yocalebo I see a little bit of roles chaos here. How are they assigned? Should they be assigned here at all? |
As of #15347, endpoints that require auth must list roles. I do think that with this change we should better document our roles, maybe give each one a docstring describing specifically what each one is to be used for in role.py (The difference between read/write roles is self explanatory). |
Removing roles from private endpoints goes beyond scope of this PR. |
7c1e362
to
711849d
Compare
@anodos325 You're right, I've made a ticket to address this later https://ixsystems.atlassian.net/browse/NAS-133901. The refactor I'd like to make if it has enough support is to condense the
which would eliminate all the messy and unclear relationships between our current kwargs. |
Okay. You'll need to approach that very carefully as changes can have subtle security implications. |
Will definitely request your review on it |
http://jenkins.eng.ixsystems.net:8080/job/tests/job/api_tests/2843/
#15462