Skip to content

Migrate Owner/Renter Roles to User-Based Property Access Workflow

Manogna Nannapaneni requested to merge dev into main

Changes Included

  • Refactored user registration flow
  • Removed Owner/Renter selection during registration
  • Added role-based user management
  • Added propertyAccess field to control property posting permissions
  • Added requestStatus field for access approval workflow
  • Updated login and authentication logic
  • Updated admin user management functionality
  • Added admin middleware
  • Updated owner and renter dashboards
  • Updated frontend and backend routes/controllers

Purpose

All users can register and browse properties. Only users approved by the admin can post, edit, or manage properties.

Testing

  • Admin login tested
  • User registration tested
  • User login tested
  • Property access workflow implementation completed

Merge request reports

Loading