[
https://issues.apache.org/jira/browse/HDDS-7347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aswin Shakil Balasubramanian updated HDDS-7347:
-----------------------------------------------
Description:
Step1:
Assigning admin with the following user:
ozone tenant --verbose user assignadmin 'null$om' --tenant=null
--om-service-id=ozone1
{ "accessId": "null$om", "tenantId": "null", "isAdmin": true,
"isDelegatedAdmin": false }
Step2:
Assigning admin again with the same user:
ozone tenant --verbose user assignadmin 'null$om' --tenant=null
--om-service-id=ozone1
{ "accessId": "null$om", "tenantId": "null", "isAdmin": true,
"isDelegatedAdmin": false }
We should get an error message that admin is already assigned.
was:
Step1:
Assigning admin with the following user:
ozone tenant --verbose user assignadmin 'null$om' --tenant=null
--om-service-id=ozone1
{ "accessId": "null$om", "tenantId": "null", "isAdmin": true,
"isDelegatedAdmin": false }
Step2:
Assigning admin again with the same user:
ozone tenant --verbose user assignadmin 'null$om' --tenant=null
--om-service-id=ozone1
{ "accessId": "null$om", "tenantId": "null", "isAdmin": true,
"isDelegatedAdmin": false }
We should get an error message that admin is already assigned.
> [Multi-Tenant] Add proper error message to TenantAssignAdmin and
> TenantRevokeAdmin
> ----------------------------------------------------------------------------------
>
> Key: HDDS-7347
> URL: https://issues.apache.org/jira/browse/HDDS-7347
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Aswin Shakil Balasubramanian
> Assignee: Aswin Shakil Balasubramanian
> Priority: Major
>
>
> Step1:
> Assigning admin with the following user:
> ozone tenant --verbose user assignadmin 'null$om' --tenant=null
> --om-service-id=ozone1
> { "accessId": "null$om", "tenantId": "null", "isAdmin": true,
> "isDelegatedAdmin": false }
> Step2:
> Assigning admin again with the same user:
> ozone tenant --verbose user assignadmin 'null$om' --tenant=null
> --om-service-id=ozone1
> { "accessId": "null$om", "tenantId": "null", "isAdmin": true,
> "isDelegatedAdmin": false }
>
> We should get an error message that admin is already assigned.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]