|
@@ -87,10 +87,10 @@ Test key Acls
|
|
Should Match Regexp ${result} \"type\" : \"USER\",\n.*\"name\" : \".*\",\n.*\"aclScope\" : \"ACCESS\",\n.*\"aclList\" : . \"ALL\" .
|
|
Should Match Regexp ${result} \"type\" : \"USER\",\n.*\"name\" : \".*\",\n.*\"aclScope\" : \"ACCESS\",\n.*\"aclList\" : . \"ALL\" .
|
|
${result} = Execute ozone sh key addacl ${volume3}/bk1/key1 -a user:superuser1:rwxy
|
|
${result} = Execute ozone sh key addacl ${volume3}/bk1/key1 -a user:superuser1:rwxy
|
|
${result} = Execute ozone sh key getacl ${volume3}/bk1/key1
|
|
${result} = Execute ozone sh key getacl ${volume3}/bk1/key1
|
|
- Should Match Regexp ${result} \"type\" : \"GROUP\",\n.*\"name\" : \"superuser1\",\n.*\"aclScope\" : \"ACCESS\",\n.*\"aclList\" : . \"READ\", \"WRITE\", \"READ_ACL\", \"WRITE_ACL\"
|
|
|
|
|
|
+ Should Match Regexp ${result} \"type\" : \"USER\",\n.*\"name\" : \"superuser1\",\n.*\"aclScope\" : \"ACCESS\",\n.*\"aclList\" : . \"READ\", \"WRITE\", \"READ_ACL\", \"WRITE_ACL\"
|
|
${result} = Execute ozone sh key removeacl ${volume3}/bk1/key1 -a user:superuser1:xy
|
|
${result} = Execute ozone sh key removeacl ${volume3}/bk1/key1 -a user:superuser1:xy
|
|
${result} = Execute ozone sh key getacl ${volume3}/bk1/key1
|
|
${result} = Execute ozone sh key getacl ${volume3}/bk1/key1
|
|
- Should Match Regexp ${result} \"type\" : \"GROUP\",\n.*\"name\" : \"superuser1\",\n.*\"aclScope\" : \"ACCESS\",\n.*\"aclList\" : . \"READ\", \"WRITE\"
|
|
|
|
|
|
+ Should Match Regexp ${result} \"type\" : \"USER\",\n.*\"name\" : \"superuser1\",\n.*\"aclScope\" : \"ACCESS\",\n.*\"aclList\" : . \"READ\", \"WRITE\"
|
|
${result} = Execute ozone sh key setacl ${volume3}/bk1/key1 -al user:superuser1:rwxy,group:superuser1:a,user:testuser/scm@EXAMPLE.COM:rwxyc
|
|
${result} = Execute ozone sh key setacl ${volume3}/bk1/key1 -al user:superuser1:rwxy,group:superuser1:a,user:testuser/scm@EXAMPLE.COM:rwxyc
|
|
${result} = Execute ozone sh key getacl ${volume3}/bk1/key1
|
|
${result} = Execute ozone sh key getacl ${volume3}/bk1/key1
|
|
Should Match Regexp ${result} \"type\" : \"USER\",\n.*\"name\" : \"superuser1\",\n.*\"aclScope\" : \"ACCESS\",\n.*\"aclList\" : . \"READ\", \"WRITE\", \"READ_ACL\", \"WRITE_ACL\"
|
|
Should Match Regexp ${result} \"type\" : \"USER\",\n.*\"name\" : \"superuser1\",\n.*\"aclScope\" : \"ACCESS\",\n.*\"aclList\" : . \"READ\", \"WRITE\", \"READ_ACL\", \"WRITE_ACL\"
|
|
@@ -128,4 +128,4 @@ Test native authorizer
|
|
Execute ozone sh bucket getacl /${volume3}/bk1
|
|
Execute ozone sh bucket getacl /${volume3}/bk1
|
|
Execute ozone sh key list /${volume3}/bk1
|
|
Execute ozone sh key list /${volume3}/bk1
|
|
Execute kdestroy
|
|
Execute kdestroy
|
|
- Run Keyword Kinit test user testuser testuser.keytab
|
|
|
|
|
|
+ Run Keyword Kinit test user testuser testuser.keytab
|