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

refactor(auth): name it role.name #4265

Merged
merged 1 commit into from
Aug 18, 2024
Merged

refactor(auth): name it role.name #4265

merged 1 commit into from
Aug 18, 2024

Conversation

mikeldking
Copy link
Contributor

@mikeldking mikeldking commented Aug 17, 2024

role.name is more intuitive

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 17, 2024
@@ -92,7 +92,8 @@ async def users(
)
stmt = (
select(models.User)
.where(models.UserRole.role != "SYSTEM")
.join(models.UserRole)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I do need to perform this join. It otherwise does not work.

@mikeldking mikeldking merged commit f5bb659 into main Aug 18, 2024
13 checks passed
@mikeldking mikeldking deleted the re-name-role-name branch August 18, 2024 17:35
fjcasti1 added a commit that referenced this pull request Aug 20, 2024
* main:
  chore: add utility function for password salting and hashing (#4287)
  chore: update ruff to 0.6.1 (#4282)
  chore(main): release arize-phoenix-otel 0.2.0 (#4281)
  feat: Clarify `register` API documentation (#4280)
  README patch (#4279)
  refactor(auth): name it role.name (#4265)
  docs: add haystack to README
  docs: Add Phoenix Llamaindex RAG Demo notebook + chunks + questions (#4202)
  chore(main): release arize-phoenix-otel 0.1.0 (#4264)
  feat: Create `phoenix.otel` package (#4230)
  fix: conditionally display re-ranker queries in span details (#4263)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant