stats4sd / Stats4SD-Resources-Site

Reposistory for the Stats4SD Resources Repository
https://resources.stats4sd.org
GNU General Public License v3.0
0 stars 0 forks source link

Routing and security for admin pages #8

Open chrismclarke opened 7 years ago

chrismclarke commented 7 years ago

Would be nice if pages could exist at /admin/[page].html. That way we could also put logic on /admin/* to only load page components when logged in as opposed to simply hiding things when not. I think this requires multiple routers, various documentation around just haven't had the time to fully get it figured out

chrismclarke commented 7 years ago

would probably be simple to just bring into the pageChanged function (check if trying to load admin page, if not admin redirect)

chrismclarke commented 6 years ago

redux handles logged in, and use of dom-templates for sensitive information mostly working well, however still needs to be quickly put in for admin page