- Timestamp:
- 2013-05-03T18:25:10+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/cgiactions/metadataaction.pm
r27261 r27295 250 250 # Authenticate user if it is enabled 251 251 if ($baseaction::authentication_enabled) { 252 # Ensure the user is allowed to edit this collection 253 &authenticate_user($gsdl_cgi, $username, $collect);252 # Ensure the user is allowed to edit this collection 253 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 254 254 } 255 255 … … 309 309 # Authenticate user if it is enabled 310 310 if ($baseaction::authentication_enabled) { 311 312 311 # Ensure the user is allowed to edit this collection 312 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 313 313 } 314 314 … … 444 444 # Authenticate user if it is enabled 445 445 if ($baseaction::authentication_enabled) { 446 # Ensure the user is allowed to edit this collection447 446 # Ensure the user is allowed to edit this collection 447 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 448 448 } 449 449 … … 614 614 615 615 if ($baseaction::authentication_enabled) { 616 # Ensure the user is allowed to edit this collection 617 &authenticate_user($gsdl_cgi, $username, $collect);616 # Ensure the user is allowed to edit this collection 617 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 618 618 } 619 619 … … 847 847 848 848 if ($baseaction::authentication_enabled) { 849 # Ensure the user is allowed to edit this collection 850 &authenticate_user($gsdl_cgi, $username, $collect);849 # Ensure the user is allowed to edit this collection 850 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 851 851 } 852 852 … … 889 889 890 890 if ($baseaction::authentication_enabled) { 891 # Ensure the user is allowed to edit this collection 892 #&authenticate_user($gsdl_cgi, $username, $collect); 893 $self->authenticate_user($username, $collect); 891 # Ensure the user is allowed to edit this collection 892 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 894 893 } 895 894 … … 963 962 if ($baseaction::authentication_enabled) { 964 963 # Ensure the user is allowed to edit this collection 965 &authenticate_user($gsdl_cgi, $username, $collect);964 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 966 965 } 967 966 … … 1079 1078 1080 1079 if ($baseaction::authentication_enabled) { 1081 # Ensure the user is allowed to edit this collection 1082 &authenticate_user($gsdl_cgi, $username, $collect);1080 # Ensure the user is allowed to edit this collection 1081 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 1083 1082 } 1084 1083 … … 1192 1191 1193 1192 if ($baseaction::authentication_enabled) { 1194 # Ensure the user is allowed to edit this collection 1195 &authenticate_user($gsdl_cgi, $username, $collect);1193 # Ensure the user is allowed to edit this collection 1194 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 1196 1195 } 1197 1196 … … 1685 1684 1686 1685 if ($baseaction::authentication_enabled) { 1687 # Ensure the user is allowed to edit this collection 1688 &authenticate_user($gsdl_cgi, $username, $collect);1686 # Ensure the user is allowed to edit this collection 1687 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 1689 1688 } 1690 1689 … … 1782 1781 if ($baseaction::authentication_enabled) 1783 1782 { 1784 # Ensure the user is allowed to edit this collection1785 &authenticate_user($gsdl_cgi, $username, $collect);1783 # Ensure the user is allowed to edit this collection 1784 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 1786 1785 } 1787 1786 … … 2220 2219 2221 2220 if ($baseaction::authentication_enabled) { 2222 2223 2221 # Ensure the user is allowed to edit this collection 2222 $self->authenticate_user($username, $collect); 2224 2223 } 2225 2224 … … 2244 2243 2245 2244 if ($baseaction::authentication_enabled) { 2246 # Ensure the user is allowed to edit this collection 2247 &authenticate_user($gsdl_cgi, $username, $collect);2245 # Ensure the user is allowed to edit this collection 2246 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 2248 2247 } 2249 2248 … … 2527 2526 2528 2527 if ($baseaction::authentication_enabled) { 2529 # Ensure the user is allowed to edit this collection2530 2528 # Ensure the user is allowed to edit this collection 2529 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 2531 2530 } 2532 2531 … … 2695 2694 2696 2695 if ($baseaction::authentication_enabled) { 2697 # Ensure the user is allowed to edit this collection 2698 &authenticate_user($gsdl_cgi, $username, $collect);2696 # Ensure the user is allowed to edit this collection 2697 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 2699 2698 } 2700 2699 … … 2722 2721 2723 2722 if ($baseaction::authentication_enabled) { 2724 # Ensure the user is allowed to edit this collection 2725 &authenticate_user($gsdl_cgi, $username, $collect);2723 # Ensure the user is allowed to edit this collection 2724 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 2726 2725 } 2727 2726 … … 2842 2841 2843 2842 if ($baseaction::authentication_enabled) { 2844 # Ensure the user is allowed to edit this collection 2845 &authenticate_user($gsdl_cgi, $username, $collect);2843 # Ensure the user is allowed to edit this collection 2844 $self->authenticate_user($username, $collect); #&authenticate_user($gsdl_cgi, $username, $collect); 2846 2845 } 2847 2846
Note:
See TracChangeset
for help on using the changeset viewer.