fix [ 1364965 ] Assets in Trash give Permission Denied in stead of Not Found
This commit is contained in:
parent
4d76a7a14a
commit
5e4b39f41c
4 changed files with 18 additions and 3 deletions
|
|
@ -185,7 +185,7 @@ Returns an AdminConsole to deal with assets in the Trash. If isInGroup(4) is Fal
|
|||
sub www_manageTrash {
|
||||
my $self = shift;
|
||||
my $ac = WebGUI::AdminConsole->new("trash");
|
||||
return WebGUI::Privilege::insufficient() unless (WebGUI::Grouping::isInGroup(4));
|
||||
return WebGUI::Privilege::insufficient() unless (WebGUI::Grouping::isInGroup(12));
|
||||
my ($header, $limit);
|
||||
$ac->setHelp("trash manage");
|
||||
if ($session{form}{systemTrash} && WebGUI::Grouping::isInGroup(3)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue