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

Change user to principal in example schema #301

Merged
merged 5 commits into from
Dec 13, 2024
Merged

Change user to principal in example schema #301

merged 5 commits into from
Dec 13, 2024

Conversation

wscalf
Copy link
Contributor

@wscalf wscalf commented Dec 13, 2024

PR Template:

Describe your changes

  • ...

Ticket reference (if applicable)

Fixes #

Checklist

  • Are the agreed upon acceptance criteria fulfilled?

  • Was the 4-eye-principle applied? (async PR review, pairing, ensembling)

  • Do your changes have passing automated tests and sufficient observability?

  • Are the work steps you introduced repeatable by others, either through automation or documentation?

    • If automation is possible but not done due to other constraints, a ticket to the tech debt sprint is added
    • An SOP (Standard Operating Procedure) was created
  • The Changes were automatically built, tested, and - if needed, behind a feature flag - deployed to our production environment. (Please check this when the new deployment is done and you could verify it.)

  • Are the agreed upon coding/architectural practices applied?

  • Are security needs fullfilled? (e.g. no internal URL)

  • Is the corresponding Ticket in the right state? (should be on "review" now, put to done when this change made it to production)

  • For changes to the public API / code dependencies: Was the whole team (or a sufficient amount of ppl) able to review?

@app-sre-bot
Copy link
Collaborator

Can one of the admins verify this patch?

Copy link

github-actions bot commented Dec 13, 2024

The latest Buf updates on your PR. Results from workflow buf-pull-request / build (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed⏩ skipped✅ passed✅ passedDec 13, 2024, 7:59 PM

Copy link
Contributor

@merlante merlante left a comment

Choose a reason for hiding this comment

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

LGTM

@wscalf wscalf marked this pull request as ready for review December 13, 2024 17:10
Copy link
Contributor

@lennysgarage lennysgarage left a comment

Choose a reason for hiding this comment

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

Looks great! Left a couple comments on places that still reference the user type that should be updated.

internal/data/spicedb_test.go Outdated Show resolved Hide resolved
internal/data/spicedb_test.go Outdated Show resolved Hide resolved
internal/data/spicedb_test.go Outdated Show resolved Hide resolved
internal/data/spicedb_test.go Outdated Show resolved Hide resolved
internal/data/spicedb_test.go Outdated Show resolved Hide resolved
internal/data/spicedb_test.go Outdated Show resolved Hide resolved
internal/data/spicedb_test.go Outdated Show resolved Hide resolved
@wscalf
Copy link
Contributor Author

wscalf commented Dec 13, 2024

Made a pass at updating comments. I think I covered the ones mentioned here and a few more, but, some may not be exactly right, and at least one I just removed. It looks like they've been out of sync with the schema for a while (missing namespace prefixes, t_-prefixes, etc)

Copy link
Contributor

@lennysgarage lennysgarage left a comment

Choose a reason for hiding this comment

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

LGTM!

@wscalf wscalf merged commit 44c983b into main Dec 13, 2024
9 checks passed
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.

4 participants