개정판 4f825aa8
issue #0000
기존 readonly 필드는 제외하고 수정/입력 권한 적용 되도록 변경
Change-Id: I8b45decaf97da6013aa42c58eba480fb9e82dda5
ID2.Manager/ID2.Manager/Main.cs | ||
---|---|---|
624 | 624 |
|
625 | 625 |
cols.ForAll(x => |
626 | 626 |
{ |
627 |
switch (x.Name)
|
|
627 |
if (!x.ReadOnly)
|
|
628 | 628 |
{ |
629 |
case "FrReviewStatus": |
|
630 |
case "FrRemarks": |
|
631 |
case "FrCreator": |
|
632 |
case "ClientReviewer": |
|
633 |
case "ClientIsResult": |
|
634 |
case "ClientRemarks": |
|
635 |
x.ReadOnly = !isClient; |
|
636 |
break; |
|
637 |
default: |
|
638 |
x.ReadOnly = isClient; |
|
639 |
break; |
|
629 |
switch (x.Name) |
|
630 |
{ |
|
631 |
case "FrReviewStatus": |
|
632 |
case "FrRemarks": |
|
633 |
case "FrCreator": |
|
634 |
case "ClientReviewer": |
|
635 |
case "ClientIsResult": |
|
636 |
case "ClientRemarks": |
|
637 |
x.ReadOnly = !isClient; |
|
638 |
break; |
|
639 |
default: |
|
640 |
x.ReadOnly = isClient; |
|
641 |
break; |
|
642 |
} |
|
640 | 643 |
} |
641 | 644 |
}); |
642 | 645 |
} |
내보내기 Unified diff