Skip to content

Commit

Permalink
add individual space role bind
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminpeng committed Jul 16, 2024
1 parent 58ef8fb commit e27ebd4
Showing 1 changed file with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
kind: resource
version: v2
templates:
- metadata:
allow_duplicate: false
table_name: iam_user_role
unique_keys: [ "role_id", "user_id" ]
specs:
- column_name: user_id
value: ${CREATOR_ID}
data_type: java.lang.Long
- column_name: role_id
value_from:
field_ref:
ref_file: migrate/web/V_4_2_1_2__iam_role.yaml
field_path: templates.0.specs.0.value
- column_name: organization_id
value: ${ORGANIZATION_ID}
data_type: java.lang.Long
- column_name: creator_id
value: ${CREATOR_ID}
data_type: java.lang.Long

0 comments on commit e27ebd4

Please sign in to comment.