feat: private session history, own-permissions view, plug-gated start button
- non-admins now see ONLY their own sessions in /api/sessions (own app starts + own linked cards); gun scopes grant control, not visibility; admins see everything - Account page shows the logged-in user's permissions in plain words (Administrator badge, or the guns/relays they control), built solely from data already visible to them - Start button arms only when the gun reports Preparing (cable in the car); idle unplugged gun shows an explanatory hint instead - keep owner's app rename to 'Art IoT' - smoke test: 59 checks (gun-scoped user sees no foreign sessions)
This commit is contained in:
@@ -31,7 +31,7 @@ export default function Login() {
|
||||
<svg viewBox="0 0 100 100" className="login__mark" aria-hidden>
|
||||
<path d="M55 12 L28 56 L46 56 L41 88 L72 42 L52 42 Z" />
|
||||
</svg>
|
||||
<h1>Charge Control</h1>
|
||||
<h1>Art IoT</h1>
|
||||
<p>Private charging backend — sign in to operate.</p>
|
||||
</div>
|
||||
<label className="field">
|
||||
|
||||
Reference in New Issue
Block a user