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

I148 create admin role using firebase functions and restriction rules to firestore security rules #166

Conversation

NicholasChoong
Copy link
Member

@NicholasChoong NicholasChoong commented Dec 30, 2022

Change Summary

  • Temporarily replaced firebase functions with Nextjs API
  • Added admin page to set user roles
  • Added admin state to auth context
  • Added mod me button to the home page
  • Display an admin nav button in the top nav bar if the user is an admin

Need to update .env file

Related Issue

…i148-create_admin_role_using_firebase_functions_and_restriction_rules_to_firestore_security_rules
…i148-create_admin_role_using_firebase_functions_and_restriction_rules_to_firestore_security_rules
…triction_rules_to_firestore_security_rules' of https://github.com/codersforcauses/poops into i148-create_admin_role_using_firebase_functions_and_restriction_rules_to_firestore_security_rules
…triction_rules_to_firestore_security_rules' of https://github.com/codersforcauses/poops into i148-create_admin_role_using_firebase_functions_and_restriction_rules_to_firestore_security_rules
Copy link
Contributor

@scratchclaggy scratchclaggy left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@NicholasChoong NicholasChoong merged commit ea8d9e8 into main Jan 7, 2023
@NicholasChoong NicholasChoong deleted the i148-create_admin_role_using_firebase_functions_and_restriction_rules_to_firestore_security_rules branch January 7, 2023 05:17
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 admin role using Firebase Functions and restriction rules to Firestore security rules
2 participants