Changeset 11938
- Timestamp:
- 2006-06-19T17:14:37+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/cgi-bin/gliserver.pl
r11937 r11938 143 143 } 144 144 145 # If we're not editing a collection then the user doesn't need to be in a particular group 146 if ($collection eq "") { 147 return; # Authentication successful 148 } 149 145 150 # Check group 146 151 my ($user_groups) = ($user_data =~ /\<groups\>(.*)/); 147 152 foreach my $user_group (split(/\,/, $user_groups)) { 148 if ($ collection eq "" || $user_group eq "$collection-maintainer" || $user_group eq "remote-superuser") {153 if ($user_group eq "$collection-maintainer" || $user_group eq "remote-superuser") { 149 154 # Authentication successful! 150 155 return;
Note:
See TracChangeset
for help on using the changeset viewer.