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|---|---|---|
|
|
00ae27b206
|
fix: resolve all lint offenses + add local CI infrastructure (#9)
* fix: resolve all Rubocop and ERBLint offenses Rubocop (16 offenses): - Style/IfUnlessModifier in account_logo_controller - Lint/RedundantSafeNavigation in templates_documents_controller - Layout/LineLength in templates_documents_controller, account_config - Rails/WhereMissing in teams_controller - Rails/WhereExists in send_submitter_reminder_email_job - Style/StringLiterals in create_teams migration - Metrics/* (disabled via inline comments for complex case statements) ERBLint (10 errors): - Void element self-closing tags (img /> → img >) - Layout/ArgumentAlignment in reminder_queue - Style/StringLiterals + Rails/LinkToBlank in navbar_buttons - Layout/BlockAlignment in custom_content mailer - Style/WordArray in role_select * feat: add local CI via Docker and pre-push lint hook - Add docker-compose.ci.yml: lint, brakeman, rspec services - Add Dockerfile.ci: test environment with Ruby, Node, Chromium - Add bin/lint: quick lint-only check - Add bin/ci: full CI suite (lint + brakeman + rspec) - Add .githooks/pre-push: auto-runs linters before push - Update docker-compose.yml: use ghcr.io image instead of local build Setup: git config core.hooksPath .githooks Usage: bin/ci or bin/lint --------- Co-authored-by: Sebastian Noe <sebastian.schneider@boxine.de> |
1 month ago |
|
|
3f80171163
|
Add Teams and Editor Role with team-scoped access control (#1)
* feat(teams): add Team model and migrations Create teams table with name, account_id, uuid, archived_at. Add team_id foreign key to users, templates, submissions, submitters, and template_folders. Backfill migration creates a Default team per account and assigns all existing records. * feat(teams): add team associations to models User belongs_to team (required). Template, Submission, Submitter, and TemplateFolder belong_to team (optional for backwards compat). Account has_many teams with default_team helper. Add EDITOR_ROLE to User::ROLES and editors scope. * feat(auth): rewrite abilities with role + team scoping Admin retains full account-wide access. Editor gets team-scoped access to templates, submissions, submitters, folders, plus account-wide access to AccountConfig and WebhookUrl. ProfileController uses authorize!(:update) instead of :manage so editors can access their own profile page. * feat(teams): add team CRUD controller and views Admin-only team management at /settings/teams. Create, edit, and archive teams. Index view uses eager-loaded user counts to avoid N+1 queries. Routes added in settings scope. * feat(teams): add role and team selection to user management Enable editor role in role select (remove Pro upsell gate). Add team dropdown to user form visible to admins only. Validate team_id belongs to current account on create. * feat(teams): assign team_id on resource creation Set team_id from current_user.team_id when creating templates, submissions, submitters, and folders. Setup controller creates Default team alongside first account for greenfield installs. * feat(teams): add move-folder-to-team and editor settings access Admins can move folders between teams via the folder edit modal. Moving cascades team_id to all templates, submissions, and submitters in a transaction. Editors can now access personalization, API, and webhook settings. * docs: document teams and roles feature in README --------- Co-authored-by: Sebastian Noe <sebastian.schneider@boxine.de> |
1 month ago |