feat(invitations): let candidates read, view and decline their invitations
This commit is contained in:
1 parent
c410636b7f
commit
ac57c05aca
27 files changed
+3285
-21
No files matched your search
@@ -1,9 +1,11 @@
|
||||
// Package invitation applies the owner-only rules of invitation drafts and of
|
||||
// their sending: the terms and their immutable versions, the link to a
|
||||
// candidate card of the organization, the idempotent creation, and the
|
||||
// idempotent send that delivers a draft to the candidate's inbox. It also
|
||||
// lists that inbox for the candidate. The candidate's answers and the contact
|
||||
// grant belong to later operations that build on the same records.
|
||||
// idempotent send that delivers a draft to the candidate's inbox. On the
|
||||
// candidate's side it lists that inbox, reads one invitation, records the
|
||||
// view, and records a structured decline. The acceptance, the cancellation,
|
||||
// and the contact grant belong to later operations that build on the same
|
||||
// records.
|
||||
package invitation
|
||||
|
||||
import (
|
||||
@@ -92,7 +94,7 @@ type Dependencies struct {
|
||||
}
|
||||
|
||||
// Service applies organization-scoped invitation commands and reads, and the
|
||||
// candidate's read of the own inbox.
|
||||
// candidate's reads, view, and decline of the own invitations.
|
||||
type Service struct {
|
||||
transactor outbound.Transactor
|
||||
keyring Keyring
|
||||
|
||||
Reference in new issue
Block a user