|
| 1 | +{ |
| 2 | + "policy": { |
| 3 | + "bindings": [ |
| 4 | + { |
| 5 | + "role": "roles/projectDeveloper", |
| 6 | + "members": [ |
| 7 | + "user:dev1@example.com", |
| 8 | + "user:dev4@example.com", |
| 9 | + "user:dev3@example.com", |
| 10 | + "user:dev2@example.com" |
| 11 | + ], |
| 12 | + "condition": { |
| 13 | + "expression": "", |
| 14 | + "title": "Developer", |
| 15 | + "description": "" |
| 16 | + } |
| 17 | + }, |
| 18 | + { |
| 19 | + "role": "roles/projectOwner", |
| 20 | + "members": ["user:demo@example.com"], |
| 21 | + "condition": { |
| 22 | + "expression": "", |
| 23 | + "title": "", |
| 24 | + "description": "" |
| 25 | + } |
| 26 | + }, |
| 27 | + { |
| 28 | + "role": "roles/projectReleaser", |
| 29 | + "members": ["user:dba1@example.com"], |
| 30 | + "condition": { |
| 31 | + "expression": "", |
| 32 | + "title": "Releaser", |
| 33 | + "description": "" |
| 34 | + } |
| 35 | + }, |
| 36 | + { |
| 37 | + "role": "roles/tester", |
| 38 | + "members": ["user:qa1@example.com"], |
| 39 | + "condition": { |
| 40 | + "expression": "", |
| 41 | + "title": "Tester", |
| 42 | + "description": "" |
| 43 | + } |
| 44 | + }, |
| 45 | + { |
| 46 | + "role": "roles/projectQuerier", |
| 47 | + "members": ["group:contractor@example.com"], |
| 48 | + "condition": { |
| 49 | + "expression": "request.time < timestamp(\"2024-10-15T03:37:41.656Z\") && (resource.database == \"instances/prod-sample-instance/databases/hr_prod\" && resource.schema == \"public\" && resource.table in [\"department\",\"employee\",\"dept_emp\",\"dept_manager\"])", |
| 50 | + "title": "Project Querier hr_prod.public.department and 3 more 10/12/2024-10/15/2024", |
| 51 | + "description": "Query reason" |
| 52 | + } |
| 53 | + }, |
| 54 | + { |
| 55 | + "role": "roles/projectExporter", |
| 56 | + "members": ["group:contractor@example.com"], |
| 57 | + "condition": { |
| 58 | + "expression": "request.time < timestamp(\"2024-10-15T03:37:41.656Z\") && (resource.database == \"instances/prod-sample-instance/databases/hr_prod\" && resource.schema == \"public\" && resource.table in [\"department\",\"employee\",\"dept_emp\",\"dept_manager\"])", |
| 59 | + "title": "Project Exporter hr_prod.public.department and 3 more 10/12/2024-10/15/2024", |
| 60 | + "description": "Export reason" |
| 61 | + } |
| 62 | + } |
| 63 | + ] |
| 64 | + } |
| 65 | +} |
0 commit comments