how does a user become an admin?

154 views
Skip to first unread message

Emmanuel Mayssat

unread,
Dec 17, 2012, 3:38:42 PM12/17/12
to google-a...@googlegroups.com
I downloaded an Google AppEngine from GitHub.
In the app.yml, I see directives like:

handlers:
- url: /admin/.*
  script: main.app
  login: admin

What is required for a user to be considered admin?

Gianni

unread,
Dec 17, 2012, 5:36:31 PM12/17/12
to google-a...@googlegroups.com
the admin users are listed in 'Permissions' page
-- Gianni

Emmanuel Mayssat

unread,
Dec 18, 2012, 9:34:49 PM12/18/12
to google-a...@googlegroups.com
I found the permission page for the application hosted at google.
But how do I set a user as admin on a devel server?

--
E




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

Thiago Catoto

unread,
Dec 18, 2012, 9:39:40 PM12/18/12
to google-a...@googlegroups.com

admn == owner !?

o.O

Emmanuel Mayssat

unread,
Dec 19, 2012, 2:20:08 PM12/19/12
to google-a...@googlegroups.com
Apparently on the dev server, I need to login using /_ah/login and select login as administrator.
That creates a dev_appserver_login cookie.

Not sure how that works if you have your own login facility as I do....
How can my user be admin when using my own login facility?

It may be that you have to use the google appengine user model...

Apparently no one on this mailing list knows how to verify
handlers:
- url: /admin/.*
  script: main.app
  login: admin                  <-- here !

Will try stackoverflow !

Thiago Catoto

unread,
Dec 20, 2012, 11:30:43 AM12/20/12
to google-a...@googlegroups.com
Hi,

Sorry about that, I missed that you wanna to use your own authentication for logins. I might be wrong but pretty sure that this "login: admin" is only for the "built-in" autentication of Google, the same used to log on the GAE console.

I guess you need to create your own filter for this, using your own decorator on the webapp.RequestHandler maybe?

hope it helps...

cheer
-- Catoto.
Reply all
Reply to author
Forward
0 new messages