You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add group owners, user lookup, and enforce_feature_owners support (#19)
* feat: Add group owners, user lookup, and enforce_feature_owners support
- Add GroupOwners field to Feature model with custom UnmarshalJSON
- Add AddFeatureGroupOwners/RemoveFeatureGroupOwners client methods
- Add User model and GetOrganisationUsers/GetOrganisationUserByEmail methods
- Add EnforceFeatureOwners field to Project model
- Add UserNotFoundError type
* fix: Address PR review comments
- Add parameter validation to manageFeatureGroupOwners (return error if
feature.ProjectID or feature.ID is nil)
- Add error path test for AddFeatureGroupOwners/RemoveFeatureGroupOwners
with missing params
- Pre-allocate GroupOwners slice in UnmarshalJSON for efficiency
- Return copy of user in GetOrganisationUserByEmail to avoid pinning
the slice in memory
- Add missing date_joined field to User model and assert in tests
https://claude.ai/code/session_01V7MNgv5pxkpz4chuJBzLcZ
---------
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments