Skip to content

Releases: HarshitWaldia/FastAPI-RBAC-Microservice

v1.1 – Role-Based Signup & Admin Controls

31 Oct 10:16
9992f3a

Choose a tag to compare

Key Features & Updates

  • User Registration & Authentication
    • Separate signup endpoints for customers/sellers and admins
    • Admin signup requires secret ADMIN_CREATION_KEY
  • Role Enforcement
    • Public signup cannot create admin users
  • Product Management
    • Only sellers and admins can create products
    • Admins can assign products to any seller
  • Cart & Orders
    • Validation on adding items, stock checks
    • Orders can only be created from non-empty carts
  • Admin Controls
    • Manage any user or product
    • Admin creation protected by ADMIN_CREATION_KEY