docs: cut the README down to what a reader needs first
The README had grown to 2,940 words (`wc -w README.md`): a table of the app's screens with a list of notes on how the app behaves under it, the checkout's method with its rules, errors and examples, and a subsection on polkit rules with one written out. It is 1,170 words now. What stays is what a reader needs to choose, install and use Nostro, and what they must know for their money's sake: how nostrod keeps the bank connections, the app's pictures with four notes under them, installing, the CLI's commands, a paragraph on the checkout that points at the interface's XML, and "Security" as a list whose last line points at the polkit policy. The README's warning against a rule that keeps an authorization moves into the comment of that policy file, which already describes the rule the README wrote out. The guide's commit guidelines now say that the README is kept short, and where what does not go into it goes. Two of the guide's sentences spoke of what the README says of each screen: the one is gone, the other no longer names the README. A third cited the README for what an app with access to the checkout can learn of an order, which the README no longer says: it stands without the citation.
This commit is contained in:
parent
564fcdfe0e
commit
25d991658f
3 changed files with 25 additions and 108 deletions
|
|
@ -20,7 +20,9 @@
|
|||
without them. Loosening it is an administrator's choice, made with a rule, and polkit cannot tell one program of
|
||||
a user's from another, so a rule that lets an action pass lets it pass for all of them. A rule that lets a card
|
||||
be frozen without a password, for one, returns polkit.Result.YES for the action Change when
|
||||
action.lookup("status") is "DEACTIVATED".
|
||||
action.lookup("status") is "DEACTIVATED"; without that test of status it would let every change pass. Do not
|
||||
have a rule keep an authorization (AUTH_SELF_KEEP): for some minutes polkit then lets the same program through
|
||||
for that action whatever it asks next, which under Pay is a payment to someone else.
|
||||
|
||||
A call that names an account, a card, a request, a draft or a connector, and is not a call to see it, is checked
|
||||
twice: for View, before nostrod looks up what it names, and then for what it does. A caller who may not see the
|
||||
|
|
|
|||
Loading…
Reference in a new issue