Re: [google-appengine] How to enter to app only selected users?

48 views
Skip to first unread message

Nijin Narayanan

unread,
Oct 5, 2012, 7:28:53 AM10/5/12
to google-a...@googlegroups.com
Create a Kind(Table) in Datastore which having all the valid user information. And check whether the current user is a valid user using a query. If Not redirect to the "no permission" page. if yes allow them to use the application.

-Nijin Narayanan





On Thu, Oct 4, 2012 at 5:02 AM, Mateusz Grabka <mgra...@gmail.com> wrote:
Hi!
I'm new in GAE and I created simple project with users authentication based on Google Accounts. But I want to limit number of users which will have access to application to only few. How can I save informations about e-mails which owners will have permission to sign in and how to change "sign in" system to enter only selected users?

Thanks for any prompts!

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Na0o2WF2OFgJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Mateusz Grabka

unread,
Oct 6, 2012, 7:04:45 AM10/6/12
to google-a...@googlegroups.com
Thanks for advices Nijin!

I also need additional informations about users, so maybe I will create entity call "UserInfo" where I will have Unowned One-To-One Relationship with User and after sign in I will check if I have UserInfo with associated current user in Datastore? Am I right or it's not good idea?
Reply all
Reply to author
Forward
0 new messages