如何在用户帐户中更改GAE本地服务器的登录?

Rus*_*ssj 4 python account google-app-engine

我的GAE应用程序上有一个编辑页面,只有管理员才能登录.它在GAE服务器上运行良好.但是在我去的当地开发机器上

http://localhost:9080/editpage
Run Code Online (Sandbox Code Playgroud)

它说

Current logged in user test@example.com is not authorized to view this page.
Run Code Online (Sandbox Code Playgroud)

如何将test@example.com更改为我的管理员帐户?

我用python.

Gre*_*reg 8

您可以直接转到/ _ah/login并更改您登录的人.(或者注销,或者更改用户/管理员状态.)