Skip to content

Feat: Add Role object (Common Roles only) - #53

Merged
jens-kuerten merged 2 commits into
mainfrom
feat-role-object
Aug 14, 2026
Merged

Feat: Add Role object (Common Roles only)#53
jens-kuerten merged 2 commits into
mainfrom
feat-role-object

Conversation

@jens-kuerten

Copy link
Copy Markdown
Collaborator

Adds a new Role domain object representing a CONTACT Elements Common (global) Role, so consumers (e.g. functions-db-service) can expose which roles a Person has.

Lets consumers represent a Common (global) Role, so services like
functions-db-service can expose which roles a Person has.
Organizational-Context roles are not represented by this object.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jens-kuerten jens-kuerten self-assigned this Aug 12, 2026
@jens-kuerten
jens-kuerten requested a review from conlwi August 12, 2026 05:54
Comment thread csfunctions/objects/base.py Outdated
Per review feedback: naming it Role/"role" now would make it awkward to
add other role types (e.g. Org-Context roles) later without a breaking
API change, since the discriminator value is part of the wire format.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jens-kuerten
jens-kuerten merged commit c043797 into main Aug 14, 2026
4 checks passed
@jens-kuerten
jens-kuerten deleted the feat-role-object branch August 14, 2026 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants