Python Backend Engineer - Multi-Tenant Partner Access (5-Day Sprint)

Posted 2 days ago

Worldwide

Summary

Backend Engineer - Partner Multi-Tenancy & Access Controls (5-Day Sprint) We need an experienced backend engineer to begin immediately and deliver a focused, production-ready backend sprint in 5 calendar days. This is a fixed-price project with a total budget of $350. Project objective Build the backend foundation for approved channel partners to onboard and manage their own companies, workspaces, users, branding, workflows, and usage while enforcing strict database-level tenant isolation. The existing Stripe checkout and subscription flow for direct customers must remain unchanged; authenticated partner-managed users must bypass Stripe. Core requirements - Add partner_id, billing_source, partner status, parent/child workspace mapping, suspension, billing-contact, token-usage, and archive fields with safe migrations and backward compatibility. - Derive partner scope from the authenticated backend session. Every Partner Super Admin query must be restricted to the assigned partner_id, with negative tests proving cross-tenant access is impossible. - Implement Partner Super Admin assignment, partner inheritance, activation/suspension, domain deactivation, session/token revocation, and Stripe-bypass decision logic. - Build a partner activity-log API with pagination and date/event filters. - Build two-step CSV user onboarding: pre-validation with exact row-level errors, followed by transactional batch provisioning, role assignment, partner inheritance, invitation emails, and rollback on critical failure. - Enforce server-side RBAC for Super Admin, Company Admin, Author, and Read-Only Member. - Add billing-contact controls and parent-hub branding inheritance. - Implement approved workflow-template cloning and output-connector verification. - Track monthly workspace token usage, premium-model use, and baseline exceedance. - Add 60-day suspension retention and archiving for threads/chat logs older than one year. Required deliverables - Production-ready backend code and database migrations - API endpoints plus authorization middleware/guards - Unit/integration tests for tenant isolation, authentication, RBAC, Stripe preservation, and partner bypass - API request/response examples and setup/deployment notes - Clear daily commits, concise daily updates, and a final GitHub pull request - Short list of known limitations and a final walkthrough Required experience Strong production experience with Python 3 and FastAPI, Django/DRF, or Flask; REST APIs; PostgreSQL/MySQL; SQLAlchemy/Django ORM/Alembic; multi-tenant SaaS architecture; JWT/session management; RBAC; Stripe integrations; transactional CSV processing; pytest; Git/GitHub; Docker; and Linux. Background workers, Redis, audit logging, CI/CD, and cloud deployment experience are strongly preferred. 5-day delivery plan Day 1: architecture review, schema/migrations, tenant-scoping guard. Day 2: partner assignment/inheritance, Stripe bypass, suspension controls. Day 3: company/workspace mapping, domain deactivation, session revocation, audit events. Day 4: activity-log API, CSV validation/execution, RBAC, branding/billing contacts. Day 5: workflow cloning, connector checks, usage/retention logic, tests, documentation, PR, and walkthrough. Security and preservation of the existing direct-customer Stripe flow are non-negotiable. If a lower-priority feature cannot be completed securely in the sprint, identify it immediately and document the exact remaining work. How to apply Begin your proposal with “Partner Backend Sprint” and include: 1. Relevant backend and multi-tenant/RBAC examples. 2. How you prevent cross-partner data exposure. 3. Your Python framework, database, auth, testing, Stripe, Docker, and GitHub experience. 4. Confirmation that you can start immediately, complete the 5-day sprint, and accept the $350 fixed fee.

  • $350.00

    Fixed-price
  • Expert
    Experience Level
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
Python
RESTful API
Database
Activity on this job
  • Proposals:10 to 15
  • Last viewed by client:17 hours ago
  • Hires:
    1
  • Interviewing:
    3
  • Invites sent:
    3
  • Unanswered invites:
    0
About the client
Member since Jul 4, 2023
  • India
    Fremont11:37 AM
  • $14K total spent
    35 hires, 4 active
  • 57 hours
  • Tech & IT
    Mid-sized company (10-99 people)

Explore similar jobs on Upwork

Zero Trust Access Blog Content WritingFixed-price‐ Posted 1 month ago
Java
Golang
Zero Trust Architecture
Content Writing
Article Writing
Redis
Android
Node.js
API
RESTful API
MySQL
Java
PHP

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo