Product
TBAC — Time-Based Access Control
Authorization infrastructure with a clock
TBAC adds when, how long, who approves and when it stops to the usual who and what. Every grant has a start and an end, and the target system confirms both.
How it works
TBAC sits between the requester and the resource.
Requester
A person, app, device or AI agent asks through the API or an SDK.
TBAC service
Applies policy, picks approvers and channels, tracks state, time and audit.
Approval channels
LINE, Telegram, email and more deliver the card and return the decision.
Target system
Your database, server, API or device turns access on and off and confirms.
How it works
From request to automatic revocation, every step is under control.
Request
A person, app or AI agent asks for a resource, a scope and a duration via the API.
Notify
Policy decides who approves and which channels to notify.
Approve
Approve, deny or change the duration. High-risk actions require step-up verification.
Activate
The clock starts only after the target system confirms access is on.
Count down
Every channel shows the time left. Revoke at any moment.
Expire
The target system removes access and confirms before it is marked done.
| Time | Event | Actor | Channel |
|---|---|---|---|
| 14:30:02 | Access requested | AI Data Analyst Agent | API |
| 14:31:15 | Approved (30 minutes) | Data team lead | LINE |
| 14:31:16 | Target system confirmed activation | prod-db | — |
| 15:01:16 | Access window ended | TBAC | — |
| 15:01:17 | Target system confirmed expiry | prod-db | — |
Multi-channel approval
Approve where your team already works.
Approve, deny or revoke from the apps you use every day. Each channel gets a native-style card, and all of them share one request and one audit trail.
LINE
Flex Message cards — approve or deny right in the chat.
Priority · in developmentTelegram
Bot messages with inline keyboard buttons.
Priority · in developmentEmail
A secure review link. Opening it never approves; you sign in and confirm.
Priority · in developmentSlack
Block Kit messages for engineering channels.
Coming soon · previewMicrosoft Teams
Adaptive Cards inside your Microsoft 365 tenant.
Coming soon · previewWhatsApp
Approved template messages for distributed teams and partners.
Coming soon · previewSMS
A one-time review link as a fallback channel.
Coming soon · previewWeb Dashboard
One place for the queue, live grants and the audit log.
Coming soon · previewWebhook / API
Stream every authorization event into your own systems.
Coming soon · preview
Access policies
Policies define who may ask, who approves and for how long.
- Default deny — no matching policy, no request
- Scope who can request which resources and actions
- Name approver groups and a minimum number of approvals
- Set a maximum duration and an approval deadline
- Require step-up verification for high-risk actions
- Define what the target system does on expiry
{
"policy": "prod-db-read",
"resource": "prod-db",
"default": "deny",
"requesters": ["agent:*", "group:engineers"],
"approvers": { "group": "data-leads", "min_approvals": 1 },
"max_duration": "PT2H",
"approval_window": "PT5M",
"step_up": { "when": "scope != read_only", "require": "webauthn" },
"on_expire": "revoke_credentials",
"audit": { "retention_days": 365 }
}Access lifecycle
Every state reflects what is really true in the target system.
TBAC never shows active or removed before the target system confirms it. A failed revoke is shown as failed and escalated.
- Awaiting approval
Requested; waiting for an approver before the deadline.
- Activating
Approved; waiting for the target system to confirm access is on.
- Access active
Access is on and the clock is running.
- Revoking
Revoked or expired; waiting for the target system to confirm removal.
- Revoke failed
Removal not confirmed — access may still be live. Retry or escalate.
- Expired
Time ran out and removal is confirmed.
- Revoked
Revoked early and removal is confirmed.
- Denied
The approver said no. Nothing was granted.
- Timed out
Nobody decided before the deadline; the request lapsed.
Interactive demo
Walk through a full approval yourself
Simulation: all data is fictional and no real messages are sent.
Audit log
Simulation settings
Every channel shares one request and one server state — switching channels never resets it.
Security & governance
Make time a first-class part of access governance.
Default deny
No valid grant, no access.
Least privilege
Only the resource and actions this task needs.
Just-in-time
Request when needed instead of pre-provisioning.
Time-bound
Every grant has a hard end time.
Enforced expiry
Removed by the target system, with confirmation.
Emergency revoke
Revoke any live grant from any channel.
Multi-party approval
Require more than one approver for high-risk resources.
Full audit trail
Who, when, through which channel, and what.
How approval callbacks stay safe
- Every callback's platform signature and approver identity are verified
- Review tokens are single-use, short-lived and replay-protected
- State changes are atomic; stale or duplicate actions are rejected
- All channels share one request ID and one server state
- High-risk actions require step-up verification (e.g. passkeys)
- Times are stored in UTC and shown in the workspace time zone
PowerUp does not yet hold third-party security certifications. We will list them here once obtained.
Developers
One API for every kind of access request.
Create requests over REST, receive state changes by webhook. Your systems enforce access and report back, so TBAC always knows what is really live.
- QuickstartYour first time-bound grant in five steps.
- API referenceRequests, grants, revocation and audit endpoints.
- SDKsPHP, Python, JavaScript / TypeScript.
- WebhooksSignature verification, retries and idempotency.
- ExamplesDatabases, SSH, AI agents and IoT.
- API PlaygroundTry the API in your browser (planned).
Preview spec: the API is not public yet. Endpoints and fields may change.
Create an access request
curl -X POST https://api.powerup.com.tw/v1/access-requests \
-H "Authorization: Bearer $TBAC_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: 7f3c1e2a-report-0001" \
-d '{ "resource": "prod-db", "requester": "agent:ai-data-analyst", "scope": "read_only", "duration": "PT30M", "reason": "daily-ops-report", "approvers": ["group:data-leads"], "channels": ["line", "telegram"] }'<?php
$tbac = new PowerUp\Tbac\Client(getenv('TBAC_API_KEY'));
$request = $tbac->accessRequests->create([
'resource' => 'prod-db',
'requester' => 'agent:ai-data-analyst',
'scope' => 'read_only',
'duration' => 'PT30M',
'reason' => 'daily-ops-report',
'approvers' => ['group:data-leads'],
'channels' => ['line', 'telegram'],
]);
echo $request->id; // TBAC-1042
echo $request->status; // pendingimport os
from powerup_tbac import Tbac
tbac = Tbac(api_key=os.environ["TBAC_API_KEY"])
req = tbac.access_requests.create(
resource="prod-db",
requester="agent:ai-data-analyst",
scope="read_only",
duration="PT30M",
reason="daily-ops-report",
approvers=["group:data-leads"],
channels=["line", "telegram"],
)
grant = tbac.access_requests.wait(req.id) # blocks until active / denied / timed_out
print(grant.status, grant.expires_at)import { Tbac } from '@powerup/tbac';
const tbac = new Tbac({ apiKey: process.env.TBAC_API_KEY });
const req = await tbac.accessRequests.create({
resource: 'prod-db',
requester: 'agent:ai-data-analyst',
scope: 'read_only',
duration: 'PT30M',
reason: 'daily-ops-report',
approvers: ['group:data-leads'],
channels: ['line', 'telegram'],
});
console.log(req.id, req.status); // TBAC-1042 pendingimport { Tbac, type WebhookEvent } from '@powerup/tbac';
const tbac = new Tbac({ apiKey: process.env.TBAC_API_KEY! });
// Webhook: verify the signature before trusting the payload
export async function POST(req: Request): Promise<Response> {
const raw = await req.text();
const event: WebhookEvent = tbac.webhooks.verify(
raw,
req.headers.get('tbac-signature'),
process.env.TBAC_WEBHOOK_SECRET!,
);
if (event.type === 'access.expired') {
await revokeDbUser(event.data.grantId); // your system enforces expiry
await tbac.grants.confirmRevoked(event.data.grantId);
}
return new Response(null, { status: 204 });
}Example response
{
"id": "TBAC-1042",
"status": "pending",
"duration": "PT30M",
"approval_deadline": "2026-11-24T06:35:00Z",
"channels": ["line", "telegram"]
}FAQ
Does the demo send real messages?
No. Everything on this site is a simulation with fictional data. No LINE, Telegram or email messages are sent.
Which channels are supported?
LINE, Telegram and email are being built first. Other channels are design previews. The status shown on this site is current.
What if revoking fails at expiry?
TBAC marks it as failed and alerts approvers — it never reports success it hasn't confirmed. It retries, and an admin can step in.
Can time zones or language change when access ends?
No. Times are stored in UTC. Only the display changes with the workspace or viewer time zone.
Which security certifications does TBAC have?
None yet. We don't claim certifications we don't hold, and will list them once obtained.
Move your systems from standing access to time-bound access.
Precise, controllable and traceable authorization for people, apps, devices and AI agents.