开发者

Google App Engine: is_current_user_admin how can I tell if the admin is a owner, developer or viewer?

In appengine, 开发者_运维百科you can give different privileges to users:

owner, developer or viewer.

I'd like to be able to query that information from the Python API.

Is this possible now? If not, is it on the road map?


That's not currently possible, no - the Users API will only return if the user is an admin or not. You should check if there's a feature request filed, and file one if there isn't.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜