Swap id field in grants to ids since that's now standardized (#4250)
* Swap id field in grants to ids since that's now standardized * Fix some tests I missed * Update generated resource table
This commit is contained in:
1 parent
962f9bd638
commit
253d79116c
43 files changed
+392
-392
No files matched your search
@@ -190,7 +190,7 @@ func TestList(t *testing.T) {
|
||||
unprivToken := tc.UnprivilegedToken()
|
||||
iam.TestUserRole(t, tc.DbConn(), defaultRoleId, unprivToken.UserId)
|
||||
iam.TestRoleGrant(t, tc.DbConn(), defaultRoleId, "type=target;actions=create")
|
||||
iam.TestRoleGrant(t, tc.DbConn(), defaultRoleId, "id=*;type=target;actions=no-op")
|
||||
iam.TestRoleGrant(t, tc.DbConn(), defaultRoleId, "ids=*;type=target;actions=no-op")
|
||||
|
||||
client.SetToken(unprivToken.Token)
|
||||
tarClient := targets.NewClient(client)
|
||||
|
||||
Reference in new issue
Block a user