IBM Bluemix移动客户端访问的环回ACLS principalId / type?
我试图保护我的回环应用程序模型,以便通过移动客户端访问( bluemix )进行身份validation的用户只能POST(1)到一个模型,其余的只能通过用户/angular色(通过用户/angular色)进行身份validation。
我想使用model.json acls(因为我不知道更好)。 但我无法find移动客户端访问用户/策略的principalId /types。 我错过了什么?
(1)使用这个helper.js https://github.com/strongloop/loopback/issues/651#issuecomment-167111395来达到这个目的。
有更好的解决办法吗?
我之前没有使用model.json
acls,但是我在这个简单的LoopBack应用程序中保护了特定的端点:
https://github.com/ibm-bluemix-mobile-services/mobiledashboard-storecatalog-backend
- Bluemix NodeJS ENOTFOUND
- 偶尔会在IBM Bluemix上执行我的node.js应用程序期间收到502错误的网关
- 无法从Cloud Foundry CLIlogin到Bluemix Dedicated
- 将图像文件保存到IBM Bluemix Node.js应用程序
- Cloud Foundry node.js应用程序在iOS Safari移动中加载速度较慢
- 发送httppost请求到Bluemix部署的Node.js应用程序时,“不幸的是应用程序已经停止”错误
- 如何在Bluemix中阻止特定的IP地址?
- 通过node.js将XML文件加载到cloudant
- 如何在bluemix上configurationsocket.io粘性会话