ethanlin01x opened a new pull request, #3727:
URL: https://github.com/apache/iggy/pull/3727

   ## Which issue does this PR address?
   
   Closes #3726 
   
   ## Rationale
   The Python SDK could create users but not grant them access to anything: 
`create_user` hardcoded `None` for permissions, and `update_permissions`, 
`change_password`, and logout_user` were unexposed. 
   
   ## What changed?
   Before, the Python SDK could create users but not grant them access to 
anything: `create_user` hardcoded `None` for permissions, and 
`update_permissions`, `change_password`, and `logout_user` were unexposed. 
   Now the Rust `Permissions` hierarchy is mirrored as PyO3 classes, 
`create_user` takes an optional `permissions` argument, `UserInfoDetails` 
exposes a `permissions` getter, and the three missing methods complete the 
`UserClient` surface, with the underlying Rust client handling the wire 
encoding.
   
   ## Local Execution
   
   - Passed
   - Pre-commit hooks ran 
   
   ## AI Usage
   Claude was used to help generate and review this PR and all the changes are 
checked by the human.


-- 
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]

Reply via email to