Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@madebydavid
Copy link
Contributor

@madebydavid madebydavid commented Aug 8, 2025

Summary

Whats changed

  • Switched out our bad templating for ejs
  • API methods to call the backend which changes the setting

@madebydavid madebydavid linked an issue Aug 8, 2025 that may be closed by this pull request
@madebydavid
Copy link
Contributor Author

Docs done. Testing now.

@madebydavid
Copy link
Contributor Author

Tested the listed commands. This is good to go.

@madebydavid madebydavid requested review from Copilot and jamiel August 12, 2025 15:20
@madebydavid madebydavid changed the title WIP - adding a command and help for the Google org policy Adding a command and help for the Google org policy Aug 12, 2025
@madebydavid madebydavid marked this pull request as ready for review August 12, 2025 15:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds functionality for managing Google organization policies related to service account key creation, specifically the iam.disableServiceAccountKeyCreation policy. The changes also migrate the templating system from a custom implementation to EJS for better template handling.

  • Added a new command game:android:apiKey:policy to get and set Google organization policies
  • Replaced custom markdown templating with EJS templating system
  • Added API methods to enforce and revoke the service account key creation policy

Reviewed Changes

Copilot reviewed 25 out of 26 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/commands/game/android/apiKey/policy.tsx New command implementation for managing Google org policies
src/api/index.ts Added API methods for enforcing and revoking policies
src/types/api.ts Extended GoogleStatusResponse with policy-related fields
src/components/common/Markdown.tsx Replaced custom templating with EJS
Multiple markdown files Updated from .md to .md.ejs with EJS syntax
test/commands/game/android/apiKey/policy.test.ts Basic test file for the new command
package.json Added new command to the files array

@madebydavid
Copy link
Contributor Author

Thanks for the great spots Copilot

@madebydavid madebydavid merged commit a9d3c31 into main Aug 12, 2025
@madebydavid madebydavid deleted the 65-error-key-creation-is-not-allowed-on-this-service-account branch August 21, 2025 10:42
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.

Error: Key creation is not allowed on this service account.

2 participants