25.12.2008, 13:53 | #6 |
Участник
|
Лучше все-таки сделать SecurityKey чем хардкодить группу
X++: #Admin public int active() { boolean allowEdit ; int ret = super() ; allowEdit = hasSecurityKeyAccess(securityKeyNum(CustEditOthersCustomers_ZED), AccessType::Read) || CustTable.<"ответстенный"> == curUserId() ; CustTable_ds.allowEdit( allowEdit ) ; return ret; } |
|