Skip to content

Back‐Office

Sébastien Palluel edited this page Mar 1, 2024 · 4 revisions

Role-Based Access Control (RBAC) for Offline Platform

Roles

Super Admin

  • Scope: Full Read & Write (R&W) permissions on web2 and web3 components.
  • Permissions:
    • Can assign roles to different accounts.
    • Access to system configurations and settings.

Admin

  • Scope: Full Read & Write (R&W) permissions on web2 and web3 components.
  • Permissions:
    • Access to system configurations and settings.

Operations Manager

  • Scope: R&W access to web2 components.
  • Permissions:
    • Event setup
    • Monitoring
    • Analytics
    • Cannot change system-wide configurations.

Finance Manager

  • Scope: R&W access to web3 components.
  • Permissions:
    • Fund transfers
    • Balance checks
    • Transaction approvals within pre-set limits.

Content Manager

  • Scope: R&W access to web2 components.
  • Permissions:
    • Create, edit, and delete content in CMS.
    • Upload media.
    • Add translations.
    • Modify metadata.

Validator

  • Scope: Web2 and Web3
  • Permissions:
    • Update NFT traits through validator wallet.
    • Validate tickets and exclusive access permissions during live events.

Auditor

  • Scope: Read-only access on both web2 and web3.
  • Permissions:
    • Compliance checks
    • Review of transactions and operations

Guest

  • Scope: Limited to web2.
  • Permissions:
    • View public content
    • No web3 permissions

Human Resources

  • Scope: Administrative permissions.
  • Permissions:
    • Invite and manage members for all roles except super_admin and human_resources.
    • Oversee staff operations and manage HR resources.
    • Cannot modify system-wide settings or access web3 components.

Scope Definition

Web2 Scope with Next.js & Hasura

  • Utilize Hasura's permission system to define roles and set up permissions at the database level.
  • Use Next.js to enforce these permissions at the API level.
  • Each role will have its own set of JWT claims, to be verified at both Hasura and Next.js levels.

Web3 Scope with Thirdweb & Safe

  • Define roles and permissions using Thirdweb SDKs and smart contracts.
  • Leverage Gnosis Safe for managing multi-signature transactions and fine-tuned recovery process.

Unified RBAC

  • To unify web2 and web3 permissions, create a mapping layer that correlates roles across both scopes.
  • Use middleware to check permissions from both realms before granting access.

Technical Articles

User Targeting Campaign for Exclusive Access (Token Gating)

Overview

The Offline platform introduces a revolutionary approach to user targeting and marketing campaigns through the integration of OFF Keys and OFF Stamps. This system, inspired by feature flags, adopts a subtractive strategy to enhance exclusivity and precise targeting for marketing campaigns. By leveraging unique identifiers and actions (OFF Keys and OFF Stamps), we offer an innovative way to create dynamic, targeted campaigns that resonate with specific audience segments.

Integration of OFF Keys and OFF Stamps

  • OFF Keys: User-owned unique keys linked to specific brands or entities.
  • OFF Stamps: User-owned data points that reflect unique actions, such as purchasing a token-gated item.

Campaign Creation Process

  1. Selection of OFF Keys: Start by selecting one or more OFF Keys that represent the brands you wish to target (e.g., OFF Key Nike, OFF Key Drake). This initial selection targets 100% of users owning at least one of these keys.
  2. Subtractive Targeting with OFF Stamps: Refine your audience by subtracting users based on specific OFF Stamps, allowing for more precise targeting. This approach helps in tailoring the campaign to reach the most relevant users.

Measuring Campaign Performance

Utilizing OFF Keys and OFF Stamps simplifies the measurement of campaign performance. Metrics such as the percentage of owners targeted, number of users, and median ownership duration provide insightful data to optimize future campaigns.

Implementation with React Flow

We propose the use of React Flow, a nodal, no-code tool, for the implementation of this targeting system. This approach enables business owners to:

  • Craft their marketing strategies without relying solely on predefined templates.
  • Seamlessly integrate off-chain brand data with on-chain data (OFF Keys and OFF Stamps), offering a comprehensive view of their marketing landscape.

Campaign Design Tools

  • Popular Templates or White Canvas: Begin with popular templates or start from scratch with a white canvas.
  • Dynamic Targeting Nodes: Add nodes to filter your targeting, with each selection dynamically updating live metrics about the targeted users.
  • Integration of Off-Chain Data: Allow for the integration of brands' off-chain data, such as salesforce, to enrich the campaign strategy beyond the on-chain data provided by OFF Keys and OFF Stamps.

Conclusion

The User Targeting Campaign system empowers brands and marketers with a sophisticated tool to launch highly targeted, exclusive campaigns. By marrying the principles of feature flags with the unique capabilities of OFF Keys and OFF Stamps, we pave the way for a new era of marketing strategies that are both inclusive and exclusive, data-driven, and user-centric.

Comprehensive Analysis: Offline's User Targeting vs. Google's FLoC

Introduction

The digital marketing landscape is undergoing a significant transformation, with emerging technologies offering new ways to balance user privacy with effective targeting. This analysis merges insights into Offline's User Targeting Campaign and Google's Federated Learning of Cohorts (FLoC), offering a detailed comparison from the perspectives of user privacy, interoperability, strategic value, and implications for users and brands.

User Privacy and Data Ownership

Offline Platform

  • Empowerment and Consent: Offline emphasizes user empowerment by utilizing user-owned identifiers (OFF Keys and OFF Stamps), ensuring users retain control over their data. This consent-based model aligns with increasing demands for privacy and data transparency, providing a solid foundation for trust and engagement.
  • Direct Control: Users directly manage their participation in targeted campaigns, offering a clear and transparent mechanism for consent, thereby enhancing user autonomy and trust in the platform.

Google's FLoC

  • Automated Privacy: FLoC aims to improve privacy by anonymizing individual activity within large groups (cohorts) based on browsing history. However, it introduces concerns over indirect tracking and profiling without explicit user consent.
  • Opaque Algorithms: The lack of transparency in FLoC's cohort assignment process and the absence of user control over cohort membership raise significant privacy concerns, overshadowing its potential privacy benefits.

Interoperability and Ecosystem Compatibility

Offline Platform

  • Cross-Platform Functionality: Designed to be technology-agnostic, Offline's targeting system works seamlessly across various platforms and integrates with both web and blockchain technologies, offering brands a broad reach.
  • Rich Data Integration: The ability to integrate off-chain and on-chain data provides a comprehensive view of consumer behavior, enabling precise targeting and personalized marketing strategies.

Google's FLoC

  • Browser Dependency: FLoC's reliance on the Chrome browser limits its interoperability with other browsers and platforms, such as Safari and Firefox, which have not adopted the FLoC standard. This fragmentation restricts the reach of FLoC-based campaigns.
  • Ecosystem Limitations: The Chrome-centric approach of FLoC narrows the scope for advertisers and may lead to ecosystem fragmentation, complicating unified digital marketing strategies across the diverse web landscape.

Strategic Value for Brands

Offline Platform

  • Precision and Flexibility: Offline offers brands the ability to target audiences with unprecedented precision using a subtractive approach, enabling dynamic and responsive campaign strategies. The nodal, no-code interface facilitates real-time strategy adjustments, empowering brands with agility and innovation.
  • Enhanced Engagement: By respecting user privacy and providing targeted benefits based on explicit user actions, Offline enhances brand engagement and loyalty, fostering a positive brand-consumer relationship.

Google's FLoC

  • Cohort-Based Targeting: FLoC introduces a novel approach to interest-based targeting without traditional cookies. However, the algorithmic determination of cohorts lacks transparency, potentially limiting its appeal to brands seeking detailed control over their targeting strategies.
  • Market Adoption Challenges: Skepticism from privacy advocates, regulatory scrutiny, and reluctance from key industry players pose significant challenges to FLoC's adoption, potentially undermining its effectiveness as a universal solution for privacy-centric advertising.

Conclusion

The comparison between Offline's User Targeting Campaign and Google's FLoC underscores a pivotal moment in digital marketing, where the drive for privacy-centric solutions intersects with the need for effective audience targeting. Offline's model, grounded in user consent, data ownership, and cross-platform interoperability, offers a compelling alternative to FLoC's browser-dependent, algorithmically driven approach. As the industry continues to navigate the complexities of digital advertising, the choices made by platforms and advertisers will shape the future of user engagement, privacy, and brand strategy.