python - Best practice to add authorized users to an app engine project via an HTML form -


i trying figure out best method of adding additional authorized application users through web form accessed/maintained site admin user.

i thinking want check get_current_user() against list of authorized users entered user site "admin" privileges (as in not application admin rights dashboard etc).

the examples ive seen seem indicate should use email addresses. best practice or there way use email address add entire user property of google accout datastore authorized user? if so, there advantages doing it?

a follow on question if entire user property has advantages might find examples of how implement this.

generally speaking, web apps use email authentication because need communicate user, , email best/easiest way that, it's given you're going need email address them. email addresses inherently unique, given 1 person can use email account (unless share, shouldn't).

i don't believe there way query google google+ records or somesuch. write it, there's no advantage importing of that, except you're going creep them out because have picture , such.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -