Re: [google-appengine] how does a user become an admin?

2012-12-20 Thread Thiago Catoto
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.


On Wed, Dec 19, 2012 at 5:20 PM, Emmanuel Mayssat wrote:

> 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 !
>
>
> On Tue, Dec 18, 2012 at 6:39 PM, Thiago Catoto  wrote:
>
>> admn == owner !?
>>
>> o.O
>> On Dec 19, 2012 12:35 AM, "Emmanuel Mayssat"  wrote:
>>
>>> 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
>>>
>>>
>>>
>>>
>>> On Mon, Dec 17, 2012 at 2:36 PM, Gianni  wrote:
>>>
 the admin users are listed in 'Permissions' page
 -- Gianni



 On Mon, Dec 17, 2012 at 9:38 PM, Emmanuel Mayssat 
 wrote:

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

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

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

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



Re: [google-appengine] how does a user become an admin?

2012-12-19 Thread Emmanuel Mayssat
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 !


On Tue, Dec 18, 2012 at 6:39 PM, Thiago Catoto  wrote:

> admn == owner !?
>
> o.O
> On Dec 19, 2012 12:35 AM, "Emmanuel Mayssat"  wrote:
>
>> 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
>>
>>
>>
>>
>> On Mon, Dec 17, 2012 at 2:36 PM, Gianni  wrote:
>>
>>> the admin users are listed in 'Permissions' page
>>> -- Gianni
>>>
>>>
>>>
>>> On Mon, Dec 17, 2012 at 9:38 PM, Emmanuel Mayssat wrote:
>>>
 handlers:
 - url: /admin/.*
   script: main.app
   login: admin

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

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



Re: [google-appengine] how does a user become an admin?

2012-12-18 Thread Thiago Catoto
admn == owner !?

o.O
On Dec 19, 2012 12:35 AM, "Emmanuel Mayssat"  wrote:

> 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
>
>
>
>
> On Mon, Dec 17, 2012 at 2:36 PM, Gianni  wrote:
>
>> the admin users are listed in 'Permissions' page
>> -- Gianni
>>
>>
>>
>> On Mon, Dec 17, 2012 at 9:38 PM, Emmanuel Mayssat wrote:
>>
>>> handlers:
>>> - url: /admin/.*
>>>   script: main.app
>>>   login: admin
>>>
>>
>>  --
>> 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-appengine@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.
>>
>
>  --
> 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-appengine@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.
>

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



Re: [google-appengine] how does a user become an admin?

2012-12-18 Thread Emmanuel Mayssat
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




On Mon, Dec 17, 2012 at 2:36 PM, Gianni  wrote:

> the admin users are listed in 'Permissions' page
> -- Gianni
>
>
>
> On Mon, Dec 17, 2012 at 9:38 PM, Emmanuel Mayssat wrote:
>
>> handlers:
>> - url: /admin/.*
>>   script: main.app
>>   login: admin
>>
>
>  --
> 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-appengine@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.
>

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



Re: [google-appengine] how does a user become an admin?

2012-12-17 Thread Gianni
the admin users are listed in 'Permissions' page
-- Gianni



On Mon, Dec 17, 2012 at 9:38 PM, Emmanuel Mayssat wrote:

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

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



[google-appengine] how does a user become an admin?

2012-12-17 Thread Emmanuel Mayssat
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?

-- 
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/-/hEIXk_oVWUQJ.
To post to this group, send email to google-appengine@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.