13 |
column hrEduOrgUniqueNumber => |
column hrEduOrgUniqueNumber => |
14 |
label is _('Visestruka vrijednost brojcani identifikator ustanove'), |
label is _('Visestruka vrijednost brojcani identifikator ustanove'), |
15 |
max_length is 128, |
max_length is 128, |
16 |
|
is indexed, |
17 |
is mandatory; |
is mandatory; |
18 |
|
|
19 |
column hrEduOrgMail => |
column hrEduOrgMail => |
97 |
label is _('RFC2256: DN of related object'); |
label is _('RFC2256: DN of related object'); |
98 |
|
|
99 |
column postalAddress => |
column postalAddress => |
100 |
|
render as 'textarea', |
101 |
label is _('RFC2256: postal address'); |
label is _('RFC2256: postal address'); |
102 |
|
|
103 |
column physicalDeliveryOfficeName => |
column physicalDeliveryOfficeName => |
143 |
# posixAccount must: |
# posixAccount must: |
144 |
|
|
145 |
column uidNumber => |
column uidNumber => |
146 |
|
type is 'int', |
147 |
label is _('An integer uniquely identifying a user in an administrative domain'), |
label is _('An integer uniquely identifying a user in an administrative domain'), |
148 |
|
is indexed, |
149 |
|
is distinct, |
150 |
is mandatory; |
is mandatory; |
151 |
|
|
152 |
column uid => |
column uid => |
153 |
label is _('RFC1274: user identifier'), |
label is _('RFC1274: user identifier'), |
154 |
max_length is 256, |
max_length is 256, |
155 |
|
is indexed, |
156 |
|
is distinct, |
157 |
is mandatory; |
is mandatory; |
158 |
|
|
159 |
column homeDirectory => |
column homeDirectory => |
162 |
|
|
163 |
column cn => |
column cn => |
164 |
label is _('RFC2256: common name(s) for which the entity is known by'), |
label is _('RFC2256: common name(s) for which the entity is known by'), |
165 |
|
is indexed, |
166 |
is mandatory; |
is mandatory; |
167 |
|
|
168 |
column gidNumber => |
column gidNumber => |
169 |
|
type is 'int', |
170 |
label is _('An integer uniquely identifying a group in an administrative domain'), |
label is _('An integer uniquely identifying a group in an administrative domain'), |
171 |
is mandatory; |
is mandatory; |
172 |
|
|
187 |
|
|
188 |
=head2 name |
=head2 name |
189 |
|
|
190 |
Auto-generated human readable id for generic access to name |
Humanly readable name of organization |
191 |
|
|
192 |
=cut |
=cut |
193 |
|
|
194 |
sub name { $_[0]->id } |
sub name { |
195 |
|
my $self = shift; |
196 |
|
return $self->cn . ' - ' . $self->o; |
197 |
|
} |
198 |
|
|
199 |
|
|
200 |
=head2 ACL |
=head2 ACL |
205 |
|
|
206 |
use A3C::DefaultACL; |
use A3C::DefaultACL; |
207 |
|
|
208 |
|
# added to make Jifty::View::Declare::CRUD happy because it |
209 |
|
# tries to capitalize first letter of model creating |
210 |
|
# A3C::Model::HrEduOrg which is invalid |
211 |
|
sub object_type { 'A3C::Model::hrEduOrg' } |
212 |
|
sub collection_class { 'A3C::Model::hrEduOrgCollection' } |
213 |
|
|
214 |
1; |
1; |