version 1.557, 2004/11/02 22:13:13
|
version 1.558, 2004/11/02 23:22:47
|
Line 2469 sub rolesinit {
|
Line 2469 sub rolesinit {
|
my $author=0; |
my $author=0; |
foreach (keys %allroles) { |
foreach (keys %allroles) { |
%thesepriv=(); |
%thesepriv=(); |
if (($_!~/^st/) && ($_!~/^ta/) && ($_!~/^cm/)) { $adv=1; } |
|
if (($_=~/^au/) || ($_=~/^ca/)) { $author=1; } |
if (($_=~/^au/) || ($_=~/^ca/)) { $author=1; } |
foreach (split(/:/,$allroles{$_})) { |
foreach (split(/:/,$allroles{$_})) { |
if ($_ ne '') { |
if ($_ ne '') { |
Line 2481 sub rolesinit {
|
Line 2480 sub rolesinit {
|
$thesepriv{$privilege}.=$restrictions; |
$thesepriv{$privilege}.=$restrictions; |
} |
} |
} |
} |
|
if ($thesepriv{'adv'} eq 'F') { $adv=1; } |
} |
} |
} |
} |
$thesestr=''; |
$thesestr=''; |