Put companies, departments and the person's card on the plugin surface #1020
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1020
Loading…
Reference in a new issue
No description provided.
Delete branch "328-plugin-surface-companies"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #328
What changed
postulo.plugins.apinow hands outCompany,Department,CompanyKind,PhoneNumberKind,PostalAddressKind, the plain row valuesPhoneRow/AddressRow/LinkRowwithnumbers_for/addresses_for/links_for(which follow the person's switches), and the person's card (PersonCard,person_card(user), built besidecontact_details).jobs/surface.py, all with a keywordactor(andviafor the trail):update_company,get_or_create_department,create_contact,update_contact,save_phone_numbers,save_postal_addresses,save_web_links. A refusal is aWriteRefusedwith the reason; a row the rules refuse comes back inSavedRows.refused. With a switch off only the primary is written and hidden rows are left alone.add_contactgoes throughcreate_contactand now needs write access to the company (it needed only read before: a bug fixed on the way; the sharing sweep says so).The four accepted decisions
Useror aProfile, and the rows calls refuse a profile as a holder.User.email).actoris accepted by every write; it is recorded where a trail already exists (company and contact, viajobs/trail.py), nowhere else.Library check
None needed.
Model use
Written with Claude Code, reviewed by the person who opens the PR.
🤖 Generated with Claude Code
de5bfaba52ad063ece46ad063ece4635883e5215