Skip to content

Conversation

@marcos-grocha
Copy link

No description provided.

- Add User model with full_name, email, password, and role (enum)
- Configure Devise for authentication
- Add Active Storage for avatar uploads
- Implement avatar validations (size and content type)
- Add comprehensive model and request specs
- Test coverage: 100%
- Add custom redirects after login (admin/user to dashboard)
- Create Authorizable concern with require_admin! and require_user! helpers
- Add authorization tests with 89% coverage
- Implement role switching (user ↔ admin)
- Add comprehensive request specs for authentication and authorization
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant