Currently admin panel is on github.com/farhan-helmy/carisurau-adm . It can be moved here and make it easier to approve surau. We can have a list of allowed email to access admin panel in secret json file / AWS Secrets Manager / .env file
Or maybe, kita boleh setup middleware which akan filter specific roles je boleh access admin page (Next Auth Protected Auth). So no need dah having secret json file or something.
Currently admin panel is on github.com/farhan-helmy/carisurau-adm . It can be moved here and make it easier to approve surau. We can have a list of allowed email to access admin panel in secret json file / AWS Secrets Manager / .env file