Accounts the content mandates, a seed for the first person, and edits suggested by who is responsible
Test / test (pull_request) Successful in 51s
Test / test (pull_request) Successful in 51s
Every person a page names as responsible gets a Kanidm account at start if they have none, and a mail saying they are listed as responsible for asking that question, with the link to sign in; RESPONSIBLE_GROUP puts them in one group. SEED_ADMIN_EMAIL invites the first person into the most privileged group - the one whose desk may invite into the most - once. Signed in, a responsible person may suggest a change to their own pages; checked on the server, kept, published, and mailed to the site's inbox. Fixes an invite of someone new on a Kanidm with only the onboarding account: the person is created with their address in one call, since idm_people_on_boarding may create but not modify (it answered 403). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
bd174224fe
commit
0886869607
@@ -358,6 +358,34 @@ main.not-found {
|
||||
border-bottom-color: var(--accent);
|
||||
}
|
||||
|
||||
/* Only for the person a page names as responsible: a quiet card at
|
||||
the foot of their own page for suggesting a change to it. */
|
||||
.suggest-edit {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 44rem;
|
||||
margin: 2.4rem auto 0;
|
||||
padding: 1.2rem 1.4rem;
|
||||
border: 0.06rem dashed var(--line);
|
||||
border-radius: var(--radius);
|
||||
background: var(--card-bg);
|
||||
}
|
||||
|
||||
.suggest-edit h2 {
|
||||
font-size: 1.05rem;
|
||||
margin: 0 0 0.4rem;
|
||||
}
|
||||
|
||||
.suggest-edit p {
|
||||
color: var(--ink-dim);
|
||||
margin: 0 0 0.8rem;
|
||||
}
|
||||
|
||||
.suggest-edit textarea {
|
||||
width: 100%;
|
||||
margin-bottom: 0.7rem;
|
||||
}
|
||||
|
||||
.question-nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
Reference in New Issue
Block a user