Group based authentication

460 views
Skip to first unread message

Zeeple

unread,
Oct 20, 2011, 4:33:08 PM10/20/11
to Google App Engine
Hi folks,

My organization has an apps account and we all have email addresses
associated with that apps account. Furthermore, we make good use of
groups in the sense of groups-of-users. What I would like is to be
able to set permission levels within my app based on what groups the
users belong to. This way, if one user is added to the developer
group, for example, instead of having to go into the app code and
alter a function, I can simply add that person to the appropriate
group within google apps admin interface. Am I making sense?

Any advice from someone who has already done this would be coolerific.
Thanks!

Brandon Wirtz

unread,
Oct 20, 2011, 4:35:25 PM10/20/11
to google-a...@googlegroups.com
I think you are talking about Google APPs not Google APP Engine. It is
confusing, but I think you are talking about Deploying "APPS" not writing
code in App Engine. Correct?

Hi folks,

--
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-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.


Zeeple

unread,
Oct 20, 2011, 4:47:23 PM10/20/11
to Google App Engine
Yes and no :). I am building a suite of tools for use by my
organization and these tools will be an app engine application built
with python, django, etc. As it happens, my organization has a
"google apps" account that we use for email, docs, sites, etc. So, I
am talking about both. The majority of my orgs members should have
very limited permissions in the tools, but a select few should have
more authority and privilege in the app engine based tool suite I am
building. The trick is that the membership of that select group is
likely to change over time. In the google apps admin one can create
users and build groups of users for ease of communication. Is the app
engine UserService able to know what groups my users belong to within
our google apps account? If not, how would I accomplish ensuring that
groups (not individuals) have the correct permissions within my app?

Peter Herrmann

unread,
Oct 20, 2011, 6:51:14 PM10/20/11
to google-a...@googlegroups.com
You'd need to do this yourself by using the Google Apps Provisioning API which has functions for retrieving the list of members of a group. 

Muneer Malik

unread,
Oct 20, 2011, 8:05:00 PM10/20/11
to google-a...@googlegroups.com
I have used spring security with the google app engine.
You can set permissions at group level and configure spring security using xml.

relavant blog:


Best,
Muneer Malik

--
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-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.




--
Confidentiality Notice
-------------------------------
 

THIS INFORMATION IS INTENDED ONLY FOR THE USE OF THE ADDRESSEE AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW.  IF YOU ARE NOT THE INTENDED RECIPIENT, OR THE EMPLOYEE OR AGENT RESPONSIBLE FOR DELIVERING THIS MESSAGE TO THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY DISSEMINATION, DISTRIBUTION OR COPYING OF THE COMMUNICATION IS STRICTLY PROHIBITED.  IF YOU HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE NOTIFY IMMEDIATELY AT tutt...@gmail.com OR BY TELEPHONE AT 817-458-1764.


THANK YOU.
Reply all
Reply to author
Forward
0 new messages