googlearchive / generator-angularfire

Yeoman generator for AngularFire: Angular + Firebase apps
191 stars 52 forks source link

Adding an admin user feature #11

Closed mwilc0x closed 9 years ago

mwilc0x commented 9 years ago

I could see having an admin user feature out of the box being a nice addition to this generator. Thoughts?

katowulf commented 9 years ago

This sounds like a lot of fun, but at first glance, I can't think of any model here that would appeal to everyone, as user management tends to be highly proprietary. Thus, it would need to be highly configurable and complex (even simple matters like where to put the HTML; does it run in the same SPA or a separate domain/folder? How does one auth to the admin interface? This probably diverges according to each orgs security policy).

It feels like it would be a pretty large investment and a significant code addition to provide enough options and structure for this. Care to weigh in on those concerns?

katowulf commented 9 years ago

I'd also be interested to hear about which features are not handled by the Firebase account dashboard, which a user admin screen would provide.

mwilc0x commented 9 years ago

The Firebase account dashboard is really nice, and is a great feature. After playing around with it a little more, it seems that I would be able to accomplish what I was seeking to do through the dashboard and my data model/security rules. I agree that it's probably best to keep it simple rather than bring in unnecessary complexity. By the way, I think this generator is great and works awesome right out the box. Cheers!