N9 Who gets in, and what the stack holds for them
- Area
- N — Companion
- Audience
- operator
- Kind
- feature
- Status
- accepted
- Maturity
- built
- Labels
- mobile, household, security, ux
The feature in the specification · Read at
Requirements
A credential MUST be shown with the state the contract gives, and stale, invalid and rotating MUST NOT be flattened into a single warning.
- locked by
- no version locks it yet
- recorded done
- lemonfiber-companionapp-modules/kernel/src/Api/WhereACredentialStands.phpapp-modules/kernel/tests/Api/ACredentialHeldTest.phpapp-modules/kernel/tests/Api/TheCredentialsHeldTest.php
A credential MUST name the services that consume it.
- locked by
- no version locks it yet
- recorded done
- lemonfiber-companionapp-modules/sdk/src/Api/CredentialsKept.phpapp-modules/sdk/tests/Api/CredentialsKeptTest.phptests/Contract/SafekeepingContractTest.php
A credential's origin MUST be shown beside it.
- locked by
- no version locks it yet
- recorded done
- lemonfiber-companionapp-modules/kernel/src/Api/WhoMadeACredential.phpapp-modules/kernel/tests/Api/ACredentialHeldTest.phpapp-modules/kernel/tests/Api/TheCredentialsHeldTest.php
The app MUST NOT offer to set or change a credential's value (N2-R12), and MUST NOT render its value where the contract carries one.
An invitation MUST state what it grants — libraries, filtering, unrated material and whether requests may be made — before it is sent.
- locked by
- no version locks it yet
- recorded partial
- lemonfibercrates/lemonfiber-core/src/app/invite.rs
- recorded done
- lemonfiber-companionapp-modules/kernel/src/Api/AnInvitationAgreed.phpapp-modules/kernel/src/Api/WhatWasGranted.phpapp-modules/kernel/tests/Api/AnInvitationAgreedTest.phpapp-modules/sdk/tests/Api/UshersTest.php
An invitation MUST state when it lapses.
- locked by
- no version locks it yet
- recorded done
- lemonfiber-companionapp-modules/sdk/src/Api/Ushers.phpapp-modules/sdk/tests/Api/UshersTest.phptests/Contract/InvitingContractTest.php
An invitation that lapsed unaccepted MUST be told apart from one the invitee declined.
A client recommendation MUST be for a named device, MUST carry its rating, and where the rating is poor MUST carry what to use instead.
Where something only works on the household network, the app MUST say so.
- locked by
- no version locks it yet
- recorded done
- lemonfiber-companionapp-modules/operator/src/Internal/Screens/WhichAppToWatchOn.phptests/Feature/SeeingWhichAppToWatchOnTest.phptests/Contract/AdvisingContractTest.php
The front door MUST show what each address faces and why, and MUST say whether it was chosen or derived.
Credentials or a door that could not be read MUST be told apart from there being none.
- locked by
- no version locks it yet
- recorded done
- lemonfiber-companionapp-modules/sdk/src/Api/CredentialsKept.phptests/Contract/EveryAdapterAnswersWhatItCannotReadTest.phptests/Contract/SafekeepingContractTest.php
The credentials screen MUST list every grant beside the credential it crosses, with the plugin it is granted to, the capability it is for and when it was approved, and never a value (ARCH-R325, F14-R20).
The credentials screen MUST list the media server's internal certificate with its state and every service that holds its SHA-256, MUST show the SHA-256 of the certificate in force in the comparable form of N1-R51, and MUST NOT ask for, carry or show its key (ARCH-R354).
- locked by
- 0.18.0 met
- recorded done
- lemonfiber-companionapp-modules/kernel/src/Api/AnInternalCertificate.phpapp-modules/sdk/src/Api/CredentialsKept.phpapp-modules/sdk/tests/Internal/CertificateReplacementReadTest.phptests/Feature/ReplacingTheInternalCertificateTest.php
- cited by
- lemonfiber-companion@b61780fcda
The app MUST offer replacing the media server's internal certificate. The replacement MUST be read first and labelled as nothing replaced yet (N6-R1), MUST show in the stack's words every service handed the new SHA-256 and whether the media server restarts, and MUST name who is watching on the media server now (N2-R28). The yes MUST carry back the offer the stack answered with, and an answer refused because that offer moved MUST be read again rather than reported as a failure (N2-R27, ARCH-R354).
- locked by
- 0.18.0 met
- recorded done
- lemonfiber-companionapp-modules/kernel/src/Api/ACertificateReplacementAgreed.phpapp-modules/sdk/src/Api/CertificateReplacers.phpapp-modules/operator/src/Internal/ReplacesTheInternalCertificate.phptests/Contract/ReplacingTheInternalCertificateContractTest.phptests/Feature/ReplacingTheInternalCertificateTest.php
- cited by
- lemonfiber-companion@b61780fcda
After the yes, the app MUST follow the replacement to its end and MUST show it as replaced only where the stack says it was, with the new certificate's SHA-256 in the comparable form of N1-R51. Every other outcome MUST be shown in its own words with each holder and whether it reached the media server with the new certificate, and an outcome short of replaced MUST offer starting again.
- locked by
- 0.18.0 met
- recorded done
- lemonfiber-companionapp-modules/kernel/src/Api/ACertificateReplacement.phpapp-modules/sdk/src/Internal/CertificateReplacementRead.phpapp-modules/operator/src/Internal/Presenters/HowAReplacementReads.phptests/Feature/ReplacingTheInternalCertificateTest.php
- cited by
- lemonfiber-companion@b61780fcda
Replacing the internal certificate MUST NOT change the certificate the app pins for the stack (N1-R19), and the screen offering it MUST say that the phone's pairing is unaffected.
- locked by
- 0.18.0 met
- recorded done
- lemonfiber-companionapp-modules/kernel/src/Api/AnInternalCertificate.phpapp-modules/kernel/tests/Api/AnInternalCertificateTest.phpapp-modules/operator/resources/views/components/the-replacement.blade.phptests/Feature/ReplacingTheInternalCertificateTest.php
- cited by
- lemonfiber-companion@b61780fcda
The internal certificate and replacing it MUST be shown to the operator alone and MUST NOT appear anywhere a member is shown.