scolby33 / wheres_charlie

0 stars 0 forks source link

Generalize user/admin verification #7

Open scolby33 opened 8 years ago

scolby33 commented 8 years ago

See the locations_get and locations_id_get methods in controllers/location_controllers.py for examples of what I'm doing now.

This should probably be split out in some way to prevent errors that would lead to security vulnerabilities.

scolby33 commented 8 years ago

This issue has expanded with my poor (in my opinion) code having expanded into the controllers/user_controllers.py implementation. Any ideas @cthoyt?