Skip to content

Added role checks in data source #1092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

jaswanth8888
Copy link
Collaborator

Description

  • Added role checks in data source
  • Users with admin role can upload, delete documents
  • user with user role can only view the existing file

Issues

List the issue or RFC link this PR is working on. If there is no such link, please mark it as n/a.

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

Sorry, something went wrong.

Signed-off-by: Ubuntu <ubuntu@ip-172-31-30-242.us-west-2.compute.internal>
for more information, see https://pre-commit.ci
@chensuyue
Copy link
Collaborator

Please check the CI issue, can you pass the test locally?

@xiguiw
Copy link
Collaborator

xiguiw commented Dec 23, 2024

@jaswanth8888

This feature is useful.
Are you still working on this?

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

github-actions bot commented Dec 23, 2024

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

@chensuyue
Copy link
Collaborator

Known issue: #1270

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@xiguiw xiguiw requested a review from hteeyeoh as a code owner February 25, 2025 07:14
@xiguiw
Copy link
Collaborator

xiguiw commented Feb 25, 2025

Known issue: #1270
1270:
Let's wait for langserve 0.3.1 pypi release.
https://pypi.org/project/langserve/#history

Now 1270 is released.
Rerun CI to check now.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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.

None yet

4 participants