Changeset 891 for trunk/Modules/User/UserModel.php
- Timestamp:
- Dec 30, 2020, 11:52:07 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/UserModel.php
r890 r891 460 460 $Desc = new ModelDesc('UserOnline'); 461 461 $Desc->Memory = true; 462 $Column = $Desc->AddReference('User', 'User'); 463 $Column->Nullable = true; 462 $Desc->AddReference('User', 'User', true); 464 463 $Desc->AddDateTime('ActivityTime'); 465 464 $Desc->AddDateTime('LoginTime'); … … 490 489 $Desc = new ModelDesc('PermissionGroupAssignment'); 491 490 $Desc->AddReference('Group', 'PermissionGroup'); 492 $Column = $Desc->AddReference('AssignedGroup', 'PermissionGroup'); 493 $Column->Nullable = true; 494 $Column = $Desc->AddReference('AssignedOperation', 'PermissionOperation'); 495 $Column->Nullable = true; 491 $Desc->AddReference('AssignedGroup', 'PermissionGroup', true); 492 $Desc->AddReference('AssignedOperation', 'PermissionOperation', true); 496 493 return $Desc; 497 494 } … … 518 515 $Desc = new ModelDesc('PermissionUserAssignment'); 519 516 $Desc->AddReference('User', 'User'); 520 $Column = $Desc->AddReference('AssignedGroup', 'PermissionGroup'); 521 $Column->Nullable = true; 522 $Column = $Desc->AddReference('AssignedOperation', 'PermissionOperation'); 523 $Column->Nullable = true; 517 $Desc->AddReference('AssignedGroup', 'PermissionGroup', true); 518 $Desc->AddReference('AssignedOperation', 'PermissionOperation', true); 524 519 return $Desc; 525 520 }
Note:
See TracChangeset
for help on using the changeset viewer.