Closed noredistribution closed 7 months ago
moved it to draft and holding off on this for now as looks like we could just use /api/v1/rest/
and fix this on cvprac side only
@noredistribution and @chetryan, can we make these changes in all of the other modules as well?
@noredistribution and @chetryan, can we make these changes in all of the other modules as well?
I think the logic could be extended to other modules. Should that be in this PR or in another one?
Change Summary
Added error raises for cv_facts_v3 to raise a proper error when a user is not authorized
Related Issue(s)
Fixes #675
Component(s) name
arista.cvp.cv_facts_v3
Proposed changes
How to test
Generate a service account token that has No Access to inventory or other features:
should result in
another test is to create a service account token that expires in a few seconds, and then run the playbook with it, the result will be something like:
Checklist
User Checklist
Repository Checklist