Skip to content

add Cody role based access control docs#31

Merged
MaedahBatool merged 10 commits into
mainfrom
sg/cody-rbac
Jan 12, 2024
Merged

add Cody role based access control docs#31
MaedahBatool merged 10 commits into
mainfrom
sg/cody-rbac

Conversation

@emidoots

Copy link
Copy Markdown
Member

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
@emidoots emidoots requested a review from MaedahBatool January 11, 2024 00:20
@netlify

netlify Bot commented Jan 11, 2024

Copy link
Copy Markdown

Deploy Preview for zippy-boba-343269 ready!

Name Link
🔨 Latest commit fe20273
🔍 Latest deploy log https://app.netlify.com/sites/zippy-boba-343269/deploys/65a095b3a5c75800083a4e98
😎 Deploy Preview https://deploy-preview-31--zippy-boba-343269.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify

netlify Bot commented Jan 11, 2024

Copy link
Copy Markdown

Deploy Preview for inquisitive-frangipane-db2f9c ready!

Name Link
🔨 Latest commit fe20273
🔍 Latest deploy log https://app.netlify.com/sites/inquisitive-frangipane-db2f9c/deploys/65a095b3495e8900089446b2
😎 Deploy Preview https://deploy-preview-31--inquisitive-frangipane-db2f9c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify

netlify Bot commented Jan 11, 2024

Copy link
Copy Markdown

Deploy Preview for stirring-toffee-d2f23d ready!

Name Link
🔨 Latest commit fe20273
🔍 Latest deploy log https://app.netlify.com/sites/stirring-toffee-d2f23d/deploys/65a095b31b36af00083e39e8
😎 Deploy Preview https://deploy-preview-31--stirring-toffee-d2f23d.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@vercel

vercel Bot commented Jan 11, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sourcegraph-docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 12, 2024 1:30am

emidoots pushed a commit to sourcegraph/sourcegraph-public-snapshot that referenced this pull request Jan 11, 2024
Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

@MaedahBatool MaedahBatool left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Left some comments basically around structure. Rest looks good. Thanks for contributing. :)

Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Comment thread docs/cody/clients/enable-cody-enterprise.mdx Outdated
Stephen Gutekanst and others added 9 commits January 11, 2024 18:27
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
Co-authored-by: Maedah Batool <me@MaedahBatool.com>
@emidoots

Copy link
Copy Markdown
Member Author

@MaedahBatool done!

emidoots pushed a commit to sourcegraph/sourcegraph-public-snapshot that referenced this pull request Jan 12, 2024
* rbac: add Cody role based access control namespace

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* add cody.permissions feature flag, cody access controlled by RBAC

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* add warning for instances with deprecated cody.restrictUsersFeatureFlag

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* improve Cody access restriction error message

Co-authored-by: Chris Warwick <christopher.warwick@sourcegraph.com>

* Run bazel configure

* Update generated files

* internal/cody: run IsCodyEnabled tests with new permissions system disabled

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* add RBAC tests

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* doc: explain how to use new Cody RBAC permissions

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* remove redundant test case

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* CHANGELOG: mention Cody RBAC permissions change

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

* send docs to sourcegraph/docs#31

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>

---------

Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
Co-authored-by: Chris Warwick <christopher.warwick@sourcegraph.com>
Co-authored-by: Jean-Hadrien Chabran <jh@chabran.fr>
@MaedahBatool MaedahBatool merged commit 3ef0034 into main Jan 12, 2024
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