开发者社区> 问答> 正文

移动推送RAM子账号授权规则有哪些?



移动推送 API 发生子账号访问主账号资源时的鉴权规则


当子账号通过 移动推送 Open API 对主账号的 APP 资源进行访问时,移动推送后台向 RAM 进行权限检查,以确保资源拥有者的确将相关资源的相关权限授予了调用者。
每个不同的 移动推送 API 会根据涉及到的资源以及 API 的语义来确定需要检查哪些资源的权限。具体地,每个 API 的鉴权规则见下表

Action鉴权规则
mpush:Pushacs:mhub:*:$accountid:app/$AppKey
mpush:PushMessageToAndroidacs:mhub:*:$accountid:app/$AppKey
mpush:PushMessageToiOSacs:mhub:*:$accountid:app/$AppKey
mpush:PushNoticeToAndroidacs:mhub:*:$accountid:app/$AppKey
mpush:PushNoticeToiOSacs:mhub:*:$accountid:app/$AppKey
mpush:CancelPushacs:mhub:*:$accountid:app/$AppKey
mpush:QueryPushStatByAppacs:mhub:*:$accountid:app/$AppKey
mpush:QueryPushStatByMsgacs:mhub:*:$accountid:app/$AppKey
mpush:QueryDeviceStatacs:mhub:*:$accountid:app/$AppKey
mpush:QueryUniqueDeviceStatacs:mhub:*:$accountid:app/$AppKey
mpush:QueryDeviceInfoacs:mhub:*:$accountid:app/$AppKey
mpush:BindTagacs:mhub:*:$accountid:app/$AppKey
mpush:UnbindTagacs:mhub:*:$accountid:app/$AppKey
mpush:QueryTagsacs:mhub:*:$accountid:app/$AppKey
mpush:ListTagsacs:mhub:*:$accountid:app/$AppKey

展开
收起
猫饭先生 2017-10-23 10:22:29 1703 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
《用管控策略设定多账号组织全局访问边界》 立即下载
《IDaaS》PDF 立即下载
低代码开发师(初级)实战教程 立即下载