Skip to content

Permission Model + Image Builder#2325

Merged
anthony-yip merged 212 commits intoec2-testingfrom
somanarita-image-builder-permission-model
Apr 17, 2026
Merged

Permission Model + Image Builder#2325
anthony-yip merged 212 commits intoec2-testingfrom
somanarita-image-builder-permission-model

Conversation

@coder6583
Copy link
Copy Markdown
Contributor

Description

This PR is a combination of #2321 and #2324.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have run rubocop and erblint for style check. If you haven't, run overcommit --install && overcommit --sign to use pre-commit hook for linting
  • My change requires a change to the documentation, which is located at Autolab Docs
  • I have updated the documentation accordingly, included in this PR

Other issues / help required

If unsure, feel free to submit first and we'll help you along.

Futurecomputerfixer and others added 30 commits October 21, 2025 13:02
- Add SshKey model with validation and fingerprinting
- Implement UnixGroupManager service for user/group management
- Create Unix users/groups automatically on course/staff creation
- Add SSH key provisioning to authorized_keys
- Implement FilesystemEnforcer with group-based permissions
- Add SSH key management UI (restricted to staff/instructors)
- Fix require paths for services in controllers
- Add services directory to autoload paths
- Create bootstrap script for existing courses
- Add host system user setup scripts
- Support BusyBox useradd (use -p '*' instead of --disabled-password)
- Add comprehensive setup and testing scripts
@coder6583 coder6583 requested a review from anthony-yip April 17, 2026 17:52
Copy link
Copy Markdown

@anthony-yip anthony-yip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@anthony-yip anthony-yip merged commit 9b4b9f4 into ec2-testing Apr 17, 2026
1 check passed
@anthony-yip anthony-yip deleted the somanarita-image-builder-permission-model branch April 17, 2026 19:12
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.

7 participants