google-appengine  

[google-appengine] Re: decision making

pythono
Sat, 13 Mar 2010 12:45:33 -0800

What do you mean "take decision"?  Are you trying to decide whether a
user is a student, faculty or admin?

With the accounts api, you can only distinguish between admins and
users with (python) users.is_current_user_admin().  For what you want,
you would have to save each user in the datastore, and have a property
that specifies the user type (faculty, student or admin).



On Mar 13, 1:20 pm, Jeevan <jeevan.don...@gmail.com> wrote:
> hello all,
> am developing app called cloud based teaching system.
> Initially it accepts the google account user name and password for the
> user.
> I am thinking of provide 3 different level of authentication.
> 1)Student
> 2)Faculty
> 3)Admin
>
> Admin can add faculty and remove faculty and can do all maintaince
> stufss.
> Faculty can add and remove students,blogs,docs,groups.
> Student can only view blogs and docs.
> Now is it possible to take decision based on their email id's.
>
> if yes then how to do it.
>
> am doing this as ma final year engineering project.
> please support me.....

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.