Skip to content
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

Make changes to user flow of has permissions: #1530

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

tsmith023
Copy link
Collaborator

  • rename from has_permission to has_permission
  • accept Union[PermissionsInputType, PermissionsOutputType, Sequence[PermissionsOutputType]] type as arg
  • return True if all perms belong to role; no partial results
  • Update to latest dev 1.28 build in CI
  • Fix misconfigs in perms classes

- rename from `has_permission` to `has_permission`
- accept `Union[PermissionsInputType, PermissionsOutputType, Sequence[PermissionsOutputType]]` type as arg
- return `True` if all perms belong to role; no partial results
- Update to latest dev `1.28` build in CI
- Fix misconfigs in perms classes
@tsmith023 tsmith023 requested a review from dirkkul January 31, 2025 15:16
@tsmith023 tsmith023 requested a review from a team as a code owner January 31, 2025 15:16
Copy link

@orca-security-eu orca-security-eu bot left a comment

Choose a reason for hiding this comment

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

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@weaviate-git-bot
Copy link

Great to see you again! Thanks for the contribution.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Slack channel?

@tsmith023 tsmith023 merged commit 40c547f into main Feb 3, 2025
37 of 39 checks passed
@tsmith023 tsmith023 deleted the rbac/refactor-has-permission branch February 3, 2025 11:14
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.

3 participants