d29fb8cfd7
totp fixes
2026-01-28 16:16:59 -06:00
5fb92dd961
add device/org limit
2026-01-27 14:14:25 -06:00
3abd70e133
use password for user regi
2026-01-21 09:13:08 -06:00
a810e75fc4
rename equipment to device
2026-01-17 14:48:46 -06:00
7a33fbff66
Add tests for OrganizationsFixtures
...
- Test unique organization name generation
- Test valid organization attributes
- Test organization creation with defaults and custom attributes
- Test membership creation for organization owner
2026-01-13 08:59:40 -06:00
2c35ad457c
Add comprehensive tests for AccountsFixtures
...
- Test all fixture generation functions
- Test user creation (confirmed and unconfirmed)
- Test scope fixtures
- Test password setting
- Test token generation and manipulation
- Test credential fixtures
2026-01-13 08:57:49 -06:00
0689fec38c
Add AgentsFixtures tests
...
Added 4 tests covering all fixture functions:
- unique_agent_name/0 generation
- agent_token_fixture/2 with default and custom names
- agent_assignment_fixture/2 creation
Coverage increased from 40% to 100%.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-13 08:42:15 -06:00
cf77949527
add remote agent setup
2026-01-09 13:15:31 -06:00
4f924ba9a7
add passkey
2026-01-09 12:26:32 -06:00
c52f313e2d
1. User Authentication
...
- Full auth system with email/password (using phx.gen.auth)
- Login, registration, password reset
- Session management with remember-me functionality
- Magic link login support
2. Organization Management
- Multi-tenant organization system
- Organizations schema with unique slugs
- Automatic organization creation when users register
- Organization switcher UI at /orgs
3. Membership System
- Users can belong to multiple organizations
- 4 permission levels: Owner, Admin, Member, Viewer
- Complete permission matrix implemented
- Join/leave organizations
4. Invitation System
- Email-based invitations with secure tokens
- 7-day expiration on invites
- Track who invited and who accepted
5. Authorization
- Full policy system (Organizations.Policy)
- can?(membership, :action, :resource) helper
- Enforced via plugs in router
6. LiveView Pages
- /orgs - List all your organizations
- /orgs/new - Create new organization
- /orgs/:slug - Organization dashboard (placeholder)
7. Database Schema
- users table
- organizations table
- organization_memberships table
- organization_invitations table
- All migrations run successfully
2025-12-21 13:31:59 -06:00