Skip to content

Conversation

@archandatta
Copy link
Contributor

@archandatta archandatta commented Dec 16, 2025

Note

Implements Chrome enterprise policy management, integrates it into extension uploads to force-install and allow hosts when required, adjusts container permissions, and adds an e2e test for web-bot-auth.

  • Backend/API:
    • Integrates new policy.Policy into ApiService to manage Chrome enterprise policy at runtime.
    • Extends UploadExtensionsAndRestart to:
      • Detect if an extension needs enterprise policy via manifest.json (checks webRequest/webRequestBlocking).
      • Update /etc/chromium/policies/managed/policy.json with ExtensionSettings (force-install and runtime_allowed_hosts when required).
  • Policy Library:
    • New server/lib/policy with read/modify/write helpers, AddExtension, RequiresEnterprisePolicy, and stable IDs via GenerateExtensionID.
  • Images:
    • wrapper.sh (headful/headless): chown /etc/chromium/policies to kernel:kernel for runtime policy updates.
  • Tests:
    • Adds e2e TestWebBotAuthInstallation to verify policy.json updates for a mock web-bot-auth extension.
  • Defaults:
    • Updates shared/chromium-policies/managed/policy.json to initialize ExtensionSettings with wildcard entry.

Written by Cursor Bugbot for commit 9597ef4. This will update automatically on new commits. Configure here.

@archandatta archandatta marked this pull request as draft December 16, 2025 17:04
@archandatta archandatta changed the title [kernel 697extension/support web bot auth [kernel 697] extension: support web bot auth Dec 16, 2025
@archandatta archandatta marked this pull request as ready for review December 16, 2025 17:57
@archandatta archandatta requested a review from rgarcia December 16, 2025 17:57
Copy link
Contributor

@rgarcia rgarcia left a comment

Choose a reason for hiding this comment

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

one small change requested. Didn't realize there were no API to openapi.yaml so I don't think there will be any changes required to the public API!

@archandatta archandatta requested a review from rgarcia December 17, 2025 13:33
@archandatta archandatta merged commit 8695e35 into main Dec 17, 2025
5 checks passed
@archandatta archandatta deleted the archand/kernel-697/extension/support-web-bot-auth branch December 17, 2025 13:48
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.

3 participants