安装了stormpath并使用google登录注册和登录。现在我正在尝试使用这个在stormpath的google目录中创建组
from stormpath.client import Client
stormpath_client = Client(id=STORMPATH_CLIENT_APIKEY_ID, secret=STORMPATH_CLIENT_APIKEY_SECRET)
directory = stormpath_client.applications[0].account_store_mappings[1].account_store
directory.groups.create({'name': 'admins'})
基于这个教程
我得到和错误
Cannot create nor edit accounts of externally managed directories.
如果我尝试在stormpath 控制台中创建组,我会得到同样的错误。
如何给不同的用户不同的权限?