Skip to content

Admin setting - saml, smpt, scim, gh app, token ttl#178

Merged
iam404 merged 7 commits into
mainfrom
admin-setting
Jun 15, 2026
Merged

Admin setting - saml, smpt, scim, gh app, token ttl#178
iam404 merged 7 commits into
mainfrom
admin-setting

Conversation

@iam404

@iam404 iam404 commented May 29, 2026

Copy link
Copy Markdown
Member

No description provided.

@iam404 iam404 requested a review from a team as a code owner May 29, 2026 04:05

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e1fd0b24e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

post-update policy list as the server reports it."""
if not valid_string_id(organization):
raise ValueError(ERR_INVALID_ORG)
body = {"data": options.to_payload()}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Send token TTL updates as a resource object

For any update() or reset_to_defaults() call, this builds a top-level JSON:API data array of policy resources, but the token TTL PATCH contract (mirrored by go-tfe) expects one organization-token-ttl-policies resource whose attributes contain a token-ttl-policies array. With the current shape the server will reject or ignore the update because it sees an array where the resource object should be, so callers cannot actually change TTL policies through this new API.

Useful? React with 👍 / 👎.

@iam404 iam404 added this to the 1.1.0 milestone May 29, 2026
@iam404 iam404 added the enhancement New feature or request label May 29, 2026
isivaselvan
isivaselvan previously approved these changes Jun 15, 2026
@iam404 iam404 merged commit b7b37f4 into main Jun 15, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants