1 |
use strict; |
use strict; |
2 |
use warnings; |
use warnings; |
3 |
|
|
4 |
package CAdmin::Model::User; |
package A3C::Model::User; |
5 |
use Jifty::DBI::Schema; |
use Jifty::DBI::Schema; |
6 |
|
|
7 |
use CAdmin::Record schema { |
use utf8; |
8 |
|
|
9 |
|
use A3C::Record schema { |
10 |
|
|
11 |
column name => |
column name => |
12 |
type is 'text', |
type is 'text', |
60 |
label is _('Fax broj'); |
label is _('Fax broj'); |
61 |
|
|
62 |
column hrEduPersonUniqueNumber => |
column hrEduPersonUniqueNumber => |
63 |
is mandatory, |
# is mandatory, |
64 |
label is _('JMBG'); |
label is _('JMBG'); |
65 |
|
|
66 |
column hrEduPersonDateOfBirth => |
column hrEduPersonDateOfBirth => |
237 |
|
|
238 |
column postalAddress => |
column postalAddress => |
239 |
label is _('Poštanska adresa'), |
label is _('Poštanska adresa'), |
240 |
|
render as 'textarea', |
241 |
is mandatory; |
is mandatory; |
242 |
|
|
243 |
column l => |
column l => |
253 |
label is _('Ulica i kućni broj'); |
label is _('Ulica i kućni broj'); |
254 |
|
|
255 |
column homePostalAddress => |
column homePostalAddress => |
256 |
label is _('Kućna poštanska adresa'); |
label is _('Kućna poštanska adresa'), |
257 |
|
render as 'textarea'; |
258 |
|
|
259 |
column homePhone => |
column homePhone => |
260 |
label is _('Kućni telefonski broj'); |
label is _('Kućni telefonski broj'); |
286 |
return ( 1, 'OK' ); |
return ( 1, 'OK' ); |
287 |
} |
} |
288 |
|
|
289 |
|
sub current_user_can { |
290 |
|
# FIXME no security for now :-) |
291 |
|
return 1; |
292 |
|
} |
293 |
|
|
294 |
1; |
1; |
295 |
|
|