3.16: correct cache terminated case clause
Check SDA-ness in correct DB.
Allow non-SDAs to edit rejected ports.
Correct state names in documentation.
Test SDA-ness based on auth account, not modified account.