Update TF Templates with Cosmos Role assignment at Account level#601
Closed
geabdluca wants to merge 4 commits into
Closed
Update TF Templates with Cosmos Role assignment at Account level#601geabdluca wants to merge 4 commits into
geabdluca wants to merge 4 commits into
Conversation
…l assignment for project MI
…l assignment for project MI
|
👋 Thanks for your interest in contributing, @geabdluca! This repository does not accept pull requests directly. If you'd like to report a bug, suggest an improvement, or propose a new sample, please open an issue instead. See CONTRIBUTING.md for more details. |
brandom-msft
added a commit
that referenced
this pull request
Mar 17, 2026
…embers Users like geabdluca (#601) who are Microsoft employees but have private microsoft org membership and are not in the microsoft-foundry org slip through all three signals in the current cascade. This adds support for an optional ORG_READ_TOKEN repository secret — a PAT with read:org scope from a microsoft org member. When configured, Signal 3 uses this token to see all microsoft org members (including private). Without the secret, behavior is unchanged (falls back to GITHUB_TOKEN which only sees public members). To activate: create a classic PAT with read:org scope, then add it as a repository secret named ORG_READ_TOKEN. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
brandom-msft
added a commit
that referenced
this pull request
Mar 17, 2026
…soft The GITHUB_TOKEN cannot read org membership for ANY org (even the repo's own org) — it only sees public members. This caused geabdluca (#601) to be misidentified despite being a member of both microsoft-foundry and microsoft orgs (with private membership in both). Now the ORG_READ_TOKEN is used for both the microsoft-foundry and microsoft org checks. The collaborator check remains on GITHUB_TOKEN since that's a repo-level API that doesn't need org permissions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
nextgen foundry needs sql roles at account level