I would like to create an admin page in nextjs and try to use appwrite for authorization. How can i validate, that the user who calls the admin page has the permission to view this page with appwrite?
TL;DR
Developers want to create an admin page in Next.js and use Appwrite for authorization. They are seeking guidance on how to validate if the user accessing the admin page has permission through Appwrite.