跳转到主内容

COTAP-180058:用户无法通过对角色/API/storage/配额 具有所有权限的REST修改配额状态

i
Knowledge Base guidance

This article may include metadata, visibility, validation state, and related support guidance.

问题描述

  • REST API fails with "not authorized for that command" for users while trying to create a quota with /api/storage/quota as all privilege
  • The role QuotaRest has the below details:

cluster1::> security login rest-role show -role QuotaRest

Role Access Vserver Name API Level ---------- ------------- ------------------- ------ cluster1 QuptaRest /api/storage/quota all
  • However, when creating a new quota rule with a REST call it fails due to insufficient permissions:
{ "error": { "message": "not authorized for that command", "code": "6" }
  • The equivalent in ZAPI works fine