Skip to content

Feat/privilege numbers #510

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

Merged

Conversation

jusdino
Copy link
Collaborator

@jusdino jusdino commented Jan 30, 2025

Description List

  • Assign a new privilege id on privilege purchase
  • Reuse privilege id for re-issue of existing privilege
  • Update API docs
  • Leverage new logger context manager feature

Breaking change

With this PR, privileges will all be expected to include privilegeId in their schema, so any existing privileges (I think there are a total of 0 in CSG environments) will need updating to include one or just be deleted.

Testing List

  • Code review

Closes #466
Closes #436

Copy link
Collaborator

@landonshumway-ia landonshumway-ia left a comment

Choose a reason for hiding this comment

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

Looks really good, just one small thing I noticed in the test data setup and one question.

Also, this is a breaking change right? We will want to note that in the PR description so @jlkravitz is aware

@landonshumway-ia landonshumway-ia self-requested a review February 5, 2025 15:32
@landonshumway-ia
Copy link
Collaborator

@jlkravitz This one is ready for your review. Thanks

Copy link
Collaborator

@jlkravitz jlkravitz 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! Love the new decorator- very clean. Thanks for the thorough comments.

I had one question below on the privilege ID.

Copy link
Collaborator

@jlkravitz jlkravitz left a comment

Choose a reason for hiding this comment

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

@isabeleliassen Good to merge!

@isabeleliassen isabeleliassen self-requested a review February 6, 2025 13:59
@isabeleliassen isabeleliassen merged commit 50ee223 into csg-org:development Feb 6, 2025
2 checks passed
@jusdino jusdino deleted the feat/privilege-numbers branch February 6, 2025 16:37
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.

privilege number assigned to each privilege reduce license types for counseling to say just licensed professional counselor
4 participants