Skip to content

feat: add has_rbac feature flag#5847

Merged
kaposke merged 2 commits intomasterfrom
gui/NAN-5254/feat-has-rbac-ff-migration
Apr 16, 2026
Merged

feat: add has_rbac feature flag#5847
kaposke merged 2 commits intomasterfrom
gui/NAN-5254/feat-has-rbac-ff-migration

Conversation

@kaposke
Copy link
Copy Markdown
Contributor

@kaposke kaposke commented Apr 13, 2026

Migration to add has_rbac feature flag to plans and backfill values, along with necessary changes to plan definitions so that plan changes apply the correct values.

Note

The flag is not used anywhere yet

@kaposke kaposke requested a review from a team April 13, 2026 19:28
@linear
Copy link
Copy Markdown

linear bot commented Apr 13, 2026

Comment thread packages/database/lib/migrations/20260413155700_plans_add_has_rbac.cjs Outdated
Copy link
Copy Markdown

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

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: dd1f17e5ff

ℹ️ 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".

Comment thread packages/server/lib/controllers/v1/invite/postInvite.ts Outdated
@kaposke kaposke marked this pull request as draft April 14, 2026 12:56
@kaposke kaposke force-pushed the gui/NAN-5254/feat-has-rbac-ff-migration branch from dd1f17e to b78cc2d Compare April 14, 2026 17:29
@kaposke kaposke force-pushed the gui/NAN-5254/feat-has-rbac-ff-migration branch from b78cc2d to 8ca313b Compare April 14, 2026 17:48
@kaposke kaposke marked this pull request as ready for review April 14, 2026 19:26
Copy link
Copy Markdown

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

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: 8ca313b083

ℹ️ 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".

* @param {import('knex').Knex} knex
*/
exports.up = async function (knex) {
await knex.raw(`ALTER TABLE "plans" ADD COLUMN IF NOT EXISTS "has_rbac" bool NOT NULL DEFAULT 'false'`);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think you need the quote around ... DEFAULT false

@kaposke kaposke added this pull request to the merge queue Apr 16, 2026
Merged via the queue into master with commit de2ba90 Apr 16, 2026
24 of 25 checks passed
@kaposke kaposke deleted the gui/NAN-5254/feat-has-rbac-ff-migration branch April 16, 2026 16:43
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.

2 participants