Section 01
Start here
Understand how prayer settings, Workspace, calendar access, and delivery fit together.
Arihna Biha turns your saved location, calculation method, prayer choices, and buffers into Prayer Blocks. Workspace shows the resulting Preview Draft before you download, send, or directly sync anything to a calendar.
- Prayer times to calendar blocks
- Aladhan calculates times from Prayer Defaults. Arihna Biha shapes each selected prayer into a block with Before, Prayer duration, and After, then keeps the draft available for review.
- Connected calendars and Protect
- A readable Agenda Source supplies busy events to Workspace. Protect can move eligible normal Prayer Blocks within their accepted prayer constraints; it changes the draft and still needs Save.
- Why calendar access is requested
- Read-only access is used for selected agenda context and never writes events. Write access is requested only for Supporter full sync to a selected Sync Target and is limited to tracked Arihna Biha-owned Prayer Blocks.
- Sign-in is separate
- Signing in proves which Arihna Biha User you are. Granting Google or Outlook calendar access is a separate choice; the provider account can use a different email and does not become a sign-in method.
Permission by permission
How prayer synchronization works
The complete user journey, from first sign-in to account deletion, with each permission tied to the promise it enables.
Start
Onboarding
Identity only. No calendar access exists yet.
Create account or log in
Email and password, or OAuth sign-in.
uses:
Set up prayer space
Location, calculation method, school, selected prayers, duration, and buffers are stored in the app. No calendar permission is needed.
Prayer times calculated
Aladhan calculates saved Prayer Defaults. This is an external prayer-time source, not a user calendar permission.
Preview draft
Arihna Biha proposes Prayer Blocks before anything is delivered.
Community tier by default
1 active read-only Calendar Connection, without full sync or scheduling automation.
Choice
Choose a delivery path
Calendar OAuth is requested only when the user chooses readable agenda context or a writable full-sync target.
Path A: read-only agenda
Show agenda context and detect conflicts.
Path B: email / export
Deliver Prayer Blocks without Google or Outlook OAuth.
Path C: nothing connected
Maximum privacy, in-app only.
Upgrade
Supporter full sync
The upgrade adds write access only when the user chooses full sync.
Become Supporter
A Stripe subscription changes account access, not calendar permission.
Supporter entitlement
Unlocks full sync, scheduling automation, and up to 2 active Calendar Connections.
Full calendar OAuth consent
The provider consent includes identity, offline access, calendar listing, and calendar write permissions.
full consent:
Choose Sync Target
The user picks the writable provider calendar where Prayer Blocks should live.
lists target calendars via:
Review, then write
Arihna Biha creates, updates, deletes, or restores only app-owned Prayer Blocks.
writes via:
Synced Events
Provider events owned and tracked by Arihna Biha.
kept fresh with:
Scheduling automation
Live rules retrigger on saved scheduling changes, Prayer Defaults changes, blocker agenda notifications, and writable target notifications. Scheduled .ics email follows its saved cadence.
Automatic recovery
Delayed automatic rules can retry without changing Prayer Defaults or granting new calendar permission.
Manual-edit options
Scheduling offers separate options for changes made in Arihna Biha and for Arihna Biha-owned events changed in Google or Outlook.
Second Calendar Connection
Supporters can keep an extra Google or Outlook account for blockers, previews, and targets.
Token promise applies to every calendar permission
Deletion
Account deletion
Every permission granted along the way is unwound in order.
Delete account requested
Active Supporter payments stop. Scheduling and live sync rules are disabled.
Optional provider cleanup
Future Arihna Biha-owned Prayer Blocks can be deleted from provider calendars while write access still exists.
last use of:
Provider access cleanup
Google revocation is requested. Microsoft local tokens are removed, and the user can also revoke consent provider-side.
Final deletion and receipt
Local OAuth tokens, Calendar Connections, Agenda Sources, Sync Targets, feeds, Prayer Defaults, User-tied history, and the User account are removed. Arihna Biha then attempts to email a deletion receipt.
Arihna Biha - permission model overview - gray = identity/read-only - gold = write access
Calendar permissions are used only for the path you choose. Stored provider tokens are encrypted, disconnecting removes local access, and account deletion revokes or removes provider access after any requested best-effort cleanup.
