-
Notifications
You must be signed in to change notification settings - Fork 3
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
Issue: Patch Operation on a group is removing all the users and groups #5
Comments
Thanks @de-jaina I will have a look on this coming weekend.Feel free to open a pr if you wish . |
@all-contributors please add @jaina15 for test |
I've put up a pull request to add @jaina15! 🎉 |
@all-contributors please add @jaina15 for test |
mick2004
pushed a commit
that referenced
this issue
Sep 8, 2023
Fixed as part of 0826ba8 . new release 0.1.4 released |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
I was trying to use the patch_dbgroup method to patch the Databricks group from the Active directory, but it is removing all the members from that group instead of removing the selected members.
To Replicate:
What I tried:
I tried changing the schema to urn:ietf:params:scim:api:messages:2.0:PatchOp by referring databricks api doc for Azure, but it still does not work.
Also, I found one documentation from databricks that states: Group membership cannot be updated through PATCH/PUT requests.
### Other Issue:
There is a minor issue in the databricks_client.py file:
obj["value"] = member["value"]
UnboundLocalError: local variable 'obj' referenced before assignment
obj = dict() is missing at line no. 131.
@mick2004 , @AbhiDatabricks
The text was updated successfully, but these errors were encountered: