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

add adminAuth function #329

Merged
merged 2 commits into from
Apr 22, 2024
Merged

add adminAuth function #329

merged 2 commits into from
Apr 22, 2024

Conversation

zaviermiller
Copy link
Contributor

Description

We now have a function we can call from our API to ensure that a user is an admin

Relevant issue(s)

closes #302

Questions

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have assigned reviewers to this PR

@zaviermiller zaviermiller linked an issue Apr 22, 2024 that may be closed by this pull request
Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
compassion-ministries ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2024 5:02am

@zaviermiller zaviermiller changed the base branch from main to 277-add-guards-to-all-api-routes April 22, 2024 05:01
Base automatically changed from 277-add-guards-to-all-api-routes to main April 22, 2024 20:55
@zaviermiller zaviermiller merged commit 110be11 into main Apr 22, 2024
3 checks passed
@zaviermiller zaviermiller deleted the 302-create-adminauth-function branch April 22, 2024 20:55
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.

Create adminAuth function
1 participant