# Issue #206: Add role field to User model

## Goal
Add role field to users table migration (admin/supervisor/user). Update User model fillable and add role() method. Create RoleMiddleware for authorization.

## Requirements (To-Do)
- [ ] Create migration to add role column to users table
- [ ] Update User model fillable array
- [ ] Add role attribute casting
- [ ] Document available roles (admin, supervisor, user)

## Acceptance Criteria
- Migration adds role column without errors
- User model has role property
- Role values are validated



## Implementation Status
**Status:** ✅ COMPLETED
**Note:** `admin.tipo` middleware instead of role field


## Implementation Status
**✅ COMPLETED**
**Note:** Implemented
## Labels
- type:feature
- priority:high
- module:database

## Milestone
M1-Foundation
