File tree Expand file tree Collapse file tree
exordos_core/user_api/iam/dm
exordos/manifests/examples Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : " user_example"
2+ description : " Example element with IAM resources for ecosystem"
3+ schema_version : 1
4+ version : " 1.0.0"
5+ api_version : " v1"
6+
7+ requirements :
8+ core :
9+ from_version : " 0.0.0"
10+
11+ resources :
12+ $core.iam.organizations :
13+ jdoe_corp :
14+ name : " jdoe-corp"
15+ description : " John Corporation"
16+
17+ $core.iam.projects :
18+ jdoe_pr :
19+ name : " jdoe-pr"
20+ description : " John environment"
21+ organization : " $core.iam.organizations.$jdoe_corp:uuid"
22+
23+ $core.iam.users :
24+ jdoe :
25+ username : " jdoe"
26+ email : " jdoe@corp.com"
27+ password : " 12345678"
28+ first_name : " John"
29+ last_name : " Doe"
30+ description : " production engineer"
31+
32+ $core.iam.rolebinding :
33+ jdoe_global_role_binding :
34+ role : " 726f6c65-0000-0000-0000-000000000002"
35+ user : $core.iam.users.$jdoe:uuid
36+ jdoe_project_role_binding :
37+ role : " 726f6c65-0000-0000-0000-000000000002"
38+ user : $core.iam.users.$jdoe:uuid
39+ project : $core.iam.projects.$jdoe_pr:uuid
40+
41+ $core.iam.organizations_members :
42+ jdoe_organizations_member :
43+ organization : " $core.iam.organizations.$jdoe_corp:uuid"
44+ user : $core.iam.users.$jdoe:uuid
45+ role : " OWNER"
Original file line number Diff line number Diff line change @@ -726,6 +726,7 @@ class OrganizationMember(
726726 models .ModelWithUUID ,
727727 models .ModelWithTimestamp ,
728728 orm .SQLStorableMixin ,
729+ ua_models .TargetResourceMixin ,
729730):
730731 __tablename__ = "iam_organization_members"
731732
Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ def _u(name: str) -> str:
4141
4242class MigrationStep (migrations .AbstractMigrationStep ):
4343 def __init__ (self ):
44- self ._depends = [
45- "0066-machine-pools-driver-spec-kind-migration-138d02.py"
46- ]
44+ self ._depends = ["0066-machine-pools-driver-spec-kind-migration-138d02.py" ]
4745
4846 @property
4947 def migration_id (self ):
You can’t perform that action at this time.
0 commit comments