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?

W dniu piątek, 5 października 2012 13:29:55 UTC+2 użytkownik Nijin 
Narayanan napisał:
>
> 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 <[email protected]<javascript:>
> > 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 
>> [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>

-- 
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/-/4JMFWTi4N-0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to