/[A3C]/lib/A3C/Model/User.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/A3C/Model/User.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

lib/CAdmin/Model/User.pm revision 4 by dpavlin, Mon Mar 10 00:19:52 2008 UTC lib/A3C/Model/User.pm revision 11 by dpavlin, Thu Mar 13 14:22:53 2008 UTC
# Line 1  Line 1 
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 A3C::Record schema {
8    
9          column name =>          column name =>
10                  type is 'text',                  type is 'text',
# Line 58  use CAdmin::Record schema { Line 58  use CAdmin::Record schema {
58                  label is _('Fax broj');                  label is _('Fax broj');
59    
60          column hrEduPersonUniqueNumber =>          column hrEduPersonUniqueNumber =>
61                  is mandatory,  #               is mandatory,
62                  label is _('JMBG');                  label is _('JMBG');
63    
64          column hrEduPersonDateOfBirth =>          column hrEduPersonDateOfBirth =>
# Line 282  sub validate_telephoneNumber { Line 282  sub validate_telephoneNumber {
282          return ( 1, 'OK' );          return ( 1, 'OK' );
283  }  }
284    
285    sub current_user_can {
286            # FIXME no security for now :-)
287            return 1;
288    }
289    
290  1;  1;
291    

Legend:
Removed from v.4  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC 1.1.26