Skip to content

Feat/marcosg#27

Open
marcos-grocha wants to merge 7 commits intoumanni:masterfrom
marcos-grocha:feat/marcosg
Open

Feat/marcosg#27
marcos-grocha wants to merge 7 commits intoumanni:masterfrom
marcos-grocha:feat/marcosg

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