github.com/Tri-stone/burrow@v0.25.0/tests/jobs_fixtures/app03-basic_and_advanced_permission_txs_and_queries/deploy.yaml (about) 1 jobs: 2 3 - name: perm 4 set: 5 val: call 6 7 - name: role 8 set: 9 val: 1234 10 11 - name: permTest1 12 permission: 13 action: setBase 14 target: $key2 15 permission: $perm 16 value: "true" 17 18 - name: permTest2 19 permission: 20 action: unsetBase 21 target: $key2 22 permission: $perm 23 24 - name: permTest3 25 permission: 26 action: addRole 27 target: $key2 28 role: $role 29 30 - name: permTest4 31 permission: 32 action: removeRole 33 target: $key2 34 role: $role 35 36 - name: permTest5 37 permission: 38 action: setGlobal 39 permission: call 40 value: "true" 41 42 - name: queryPerm1 43 query-account: 44 account: $key2 45 field: permissions.roles 46 47 - name: assertPerm1 48 assert: 49 key: $queryPerm1 50 relation: eq 51 val: "" 52 53 - name: queryPerm2 54 query-account: 55 account: $key2 56 field: permissions.base 57 58 - name: assertPerm2 59 assert: 60 key: $queryPerm2 61 relation: eq 62 val: 16454