閱讀264 返回首頁    go 阿裏雲 go 技術社區[雲棲]


移動推送RAM子賬號授權規則__OpenAPI RAM授權_OpenAPI 1.0_移動推送-阿裏雲

移動推送 API 發生子賬號訪問主賬號資源時的鑒權規則

當子賬號通過 移動推送 Open API 對主賬號的 APP 資源進行訪問時,移動推送後台向 RAM 進行權限檢查,以確保資源擁有者的確將相關資源的相關權限授予了調用者。

每個不同的 移動推送 API 會根據涉及到的資源以及 API 的語義來確定需要檢查哪些資源的權限。具體地,每個 API 的鑒權規則見下表

Action 鑒權規則
mpush:Push acs:mhub:*:$accountid:app/$AppKey
mpush:PushMessageToAndroid acs:mhub:*:$accountid:app/$AppKey
mpush:PushMessageToiOS acs:mhub:*:$accountid:app/$AppKey
mpush:PushNoticeToAndroid acs:mhub:*:$accountid:app/$AppKey
mpush:PushNoticeToiOS acs:mhub:*:$accountid:app/$AppKey
mpush:CancelPush acs:mhub:*:$accountid:app/$AppKey
mpush:QueryPushStatByApp acs:mhub:*:$accountid:app/$AppKey
mpush:QueryPushStatByMsg acs:mhub:*:$accountid:app/$AppKey
mpush:QueryDeviceStat acs:mhub:*:$accountid:app/$AppKey
mpush:QueryUniqueDeviceStat acs:mhub:*:$accountid:app/$AppKey
mpush:QueryDeviceInfo acs:mhub:*:$accountid:app/$AppKey
mpush:BindTag acs:mhub:*:$accountid:app/$AppKey
mpush:UnbindTag acs:mhub:*:$accountid:app/$AppKey
mpush:QueryTags acs:mhub:*:$accountid:app/$AppKey
mpush:ListTags acs:mhub:*:$accountid:app/$AppKey

最後更新:2016-11-30 22:05:57

  上一篇:go RAM中可以移動推送資源進行授權的Action__OpenAPI RAM授權_OpenAPI 1.0_移動推送-阿裏雲
  下一篇:go 標簽表達式__附錄_OpenAPI 1.0_移動推送-阿裏雲