kumaab commented on PR #253:
URL: https://github.com/apache/ranger/pull/253#issuecomment-1573001709
Tested python client with the following test cases:
`from apache_ranger.client.ranger_client import *`
`ranger = RangerClientPrivate('http://localhost:6080', ('admin',
'rangerR0cks!'))`
* ranger.force_delete_external_groups("isVisible=1&syncSource=XYZ"))
*
ranger.force_delete_external_users("isVisible=0&userRole=ROLE_ADMIN_AUDITOR"))
# takes both params to filter
* ranger.force_delete_external_groups("isVisible=0&ihdfiohjf=453")) # only
takes the first param
* ranger.force_delete_external_users("isVisible=0"))
* ranger.force_delete_external_users("name=usertest_142"))
* ranger.force_delete_external_groups("syncSource=ABC"))
* ranger.force_delete_external_groups("syncSource=None"))
* ranger.force_delete_external_users()) # deletes all external users
* ranger.force_delete_external_groups()) # deletes all external groups
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]