Skip to content

[v18] Update RBAC instructions for the Jira plugin#66248

Draft
ptgott wants to merge 2 commits into
branch/v18from
bot/backport-65190-branch/v18
Draft

[v18] Update RBAC instructions for the Jira plugin#66248
ptgott wants to merge 2 commits into
branch/v18from
bot/backport-65190-branch/v18

Conversation

@ptgott

@ptgott ptgott commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Backport #65190 to branch/v18

@ptgott ptgott added the no-changelog Indicates that a PR does not require a changelog entry label Apr 28, 2026
@github-actions

github-actions Bot commented Apr 28, 2026

Copy link
Copy Markdown
Contributor

Amplify deployment status

Branch Commit Job ID Status Preview Updated (UTC)
bot/backport-65190-branch/v18 4b89c8a 5 ✅SUCCEED bot-backport-65190-branch-v18 2026-06-26 17:11:07

@ptgott ptgott marked this pull request as ready for review April 28, 2026 13:36
@ptgott ptgott force-pushed the bot/backport-65190-branch/v18 branch from 807b49f to 407155e Compare April 29, 2026 13:01

@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: 407155efa8

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/pages/identity-governance/access-requests/plugins/jira.mdx Outdated
@ptgott ptgott force-pushed the bot/backport-65190-branch/v18 branch from 407155e to 63aae80 Compare May 1, 2026 17:52
@ptgott ptgott temporarily deployed to docs-amplify May 1, 2026 17:52 — with GitHub Actions Inactive

@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: 63aae805a2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread docs/pages/identity-governance/access-requests/plugins/jira.mdx Outdated
@ptgott

This comment was marked as resolved.

@ptgott ptgott marked this pull request as draft May 20, 2026 18:38
@ptgott ptgott temporarily deployed to docs-amplify May 26, 2026 18:21 — with GitHub Actions Inactive
@ptgott ptgott marked this pull request as ready for review May 26, 2026 18:22

@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: 579673e15c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

</TabItem>
<TabItem label="Long-lived identity files">
(!docs/pages/includes/plugins/rbac-impersonate.mdx!)
(!docs/pages/includes/plugins/rbac-update.mdx!)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Grant read/list on access_plugin_data for long-lived setup

In this commit, the Jira guide’s long-lived credentials path now includes rbac-update.mdx (docs/pages/identity-governance/access-requests/plugins/jira.mdx), but that include still defines access_plugin_data with only verbs: ['update'] (docs/pages/includes/plugins/rbac-update.mdx:19-20). The plugin reads plugin data before writing it, and GetPluginData enforces list/read authorization (lib/auth/auth_with_roles.go:3325-3337), so operators following this flow can hit access-denied errors during normal request synchronization. Please add list and read to this role (or point to the preset role with equivalent permissions).

Useful? React with 👍 / 👎.

@ptgott ptgott marked this pull request as draft May 26, 2026 18:29
ptgott added 2 commits June 26, 2026 13:03
Closes #62251

Edit the Jira plugin guide to note that the role given to the Access
Request plugin must be able to update Access Requests.

- Use the existing `rbac-update.mdx` plugin to explain how to create a
  role that can update Access Requests and impersonate a user with that
  role.
- Inline the Machine ID partial in Step 2 and edit the content to
  include a custom role.
In #65190, we inadvertently introduced two small issues, which this
change fixes:

- Remove a reference to a nonexistent role. This was a mistake due to a
  find/replace operation.
- Add full permissions to the access-plugin-update role. The Jira Access
  Request plugin needs to list and read `access_plugin_data`, not just
  create it.
@ptgott ptgott force-pushed the bot/backport-65190-branch/v18 branch from 579673e to 4b89c8a Compare June 26, 2026 17:03
@ptgott

ptgott commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

Need to cherry-pick this PR once it merges to resolve the Codex feedback:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport documentation no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants