diff options
| author | Christian Cleberg <[email protected]> | 2026-04-22 11:46:52 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-04-22 11:46:52 -0500 |
| commit | 37b02e5ee360d61751951b77b7b556165a3af1fc (patch) | |
| tree | c2e30f32c4e8d2fcdf7035f97e9e353f09859114 /DomainDig/DataAccessService.swift | |
| parent | ceac99c05f180d9008b75c9329822466ff60255b (diff) | |
| download | domain-dig-37b02e5ee360d61751951b77b7b556165a3af1fc.tar.gz domain-dig-37b02e5ee360d61751951b77b7b556165a3af1fc.tar.bz2 domain-dig-37b02e5ee360d61751951b77b7b556165a3af1fc.zip | |
feat(v3.0.0): unify platform architecture and introduce feature tiers
* consolidate DomainReport as canonical data model
* add feature tier system (free/pro/data+ scaffolding)
* apply clean feature gating across workflows and tracking
* refactor app structure for maintainability
* standardize navigation and settings
* add data lifecycle controls
* ensure consistency across UI, export, and CLI
* stabilize internal inspection API
Diffstat (limited to 'DomainDig/DataAccessService.swift')
| -rw-r--r-- | DomainDig/DataAccessService.swift | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/DomainDig/DataAccessService.swift b/DomainDig/DataAccessService.swift index fed4fde..d0254ac 100644 --- a/DomainDig/DataAccessService.swift +++ b/DomainDig/DataAccessService.swift @@ -2,6 +2,15 @@ import Foundation enum DataAccessService { static func hasAccess(to capability: DataCapability) -> Bool { - false + switch capability { + case .ownershipHistory: + return FeatureAccessService.hasAccess(to: .ownershipHistory) + case .dnsHistory: + return FeatureAccessService.hasAccess(to: .dnsHistory) + case .extendedSubdomains: + return FeatureAccessService.hasAccess(to: .extendedSubdomains) + case .domainPricing: + return false + } } } |
