The owner now requires confirmation before entry. Earlier, a valid session could enter before confirmation.
Predict the results below. An active session has not been revoked; an unexpired session is still inside its validity window.
| Visit Facts | Open Policy | Confirmation Required |
|---|---|---|
| Active, unexpired, not confirmed | Allowed | ? |
| Active, unexpired, confirmed | Allowed | ? |
| Expired, confirmed | Refused | ? |
| Revoked, confirmed | Refused | ? |
A separate proposal removes password collection during registration. That is a different choice from deciding how later login works.
Engineering Depth
The policy selection changes here:
pub type OpenWorkshop<P> = Workshop<Google<P>, WithoutPassword, CookieValid>;
pub type ConfirmedWorkshop<P> = Workshop<Google<P>, WithoutPassword, ConfirmedOnly>;
Every relevant visit reaches the same current checks:
if !account.active {
return Err(EntryFailure::Revoked);
}
if self.workshop.now >= account.expires {
return Err(EntryFailure::Expired);
}
if !E::permits(account.confirmed) {
return Err(EntryFailure::ConfirmationRequired);
}
The order makes each condition visible. Confirmation does not revive an expired or revoked session. Initial and later visits use the selected rule; changing only the first entry path would leave the product inconsistent.
Compare two edits:
| Edit | Consequence |
|---|---|
Choose ConfirmedOnly, applied through the shared entry contract. |
The new confirmation condition reaches initial and later entry. |
| Add a check only to the registration screen. | A later visit or another client may still bypass the intended policy. |
The reference's confirmation delivery remains independent. Requiring confirmation for entry does not mean that delivery must wait for entry.
Your Reflection
Fill the final column. Then explain why removing registration password collection does not answer the later-login question.
Saved in this browser. Export a copy before changing devices.
Worked Discussion
The results are refused, allowed, refused, refused. The changed condition is confirmation; current session validity still matters. Registration's password choice has a named scope. Follow the separately owned login contract before changing its policy.