Changeset 2264 for trunk/LATMOS-Accounts/lib/LATMOS
- Timestamp:
- 06/19/19 10:52:53 (5 years ago)
- Location:
- trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Attributes.pm
r2262 r2264 45 45 $attr_info->{_otype} = $otype; 46 46 $attr_info->{monitored} ||= $base->config('monitored')->{ lc( $otype . '.' . $attributes ) }; 47 $attr_info->{ro} = 1 if ($attr_info->{auto}); 47 $attr_info->{ro} = 1 if ($attr_info->{auto} && !defined($attr_info->{ro})); 48 $attr_info->{hide} = 1 if ($attr_info->{_name} =~ /^_/ && !defined($attr_info->{hide})); 48 49 49 50 return bless($attr_info, $class); -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm
r2262 r2264 1070 1070 otheraddress => { 1071 1071 ro => 1, 1072 auto => 1, 1073 }, 1074 _otheraddress => { 1075 ro => 1, 1076 hide => 1, 1072 multiple => 1, 1077 1073 reference => 'address', 1078 1074 get => sub { … … 1111 1107 }, 1112 1108 }, 1113 postalAddress => { auto => 1 }, 1109 postalAddress => { 1110 auto => 1, 1111 }, 1114 1112 _postalAddress => { 1115 1113 hide => 1,
Note: See TracChangeset
for help on using the changeset viewer.