fixed: Security issue in CS RSS feeds
This commit is contained in:
parent
10060cb06c
commit
ea3d3e9e9c
2 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
- fixed: Product Variants not saving SKU
|
- fixed: Product Variants not saving SKU
|
||||||
- fixed: Shop Payment Methods
|
- fixed: Shop Payment Methods
|
||||||
- fixed: Syndicated Content asset makes template engine choke
|
- fixed: Syndicated Content asset makes template engine choke
|
||||||
|
- fixed: Security issue in CS RSS feeds
|
||||||
- fixed: Asset Manager breaks when an asset is locked
|
- fixed: Asset Manager breaks when an asset is locked
|
||||||
- fixed: Asset Manager is slow to load
|
- fixed: Asset Manager is slow to load
|
||||||
- fixed: project management application unable to add or edit tasks.
|
- fixed: project management application unable to add or edit tasks.
|
||||||
|
|
|
||||||
|
|
@ -96,6 +96,7 @@ sub www_view {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return '' unless $self->session->asset->getId eq $self->getId;
|
return '' unless $self->session->asset->getId eq $self->getId;
|
||||||
return '' unless $self->getParent->isa('WebGUI::Asset::RSSCapable');
|
return '' unless $self->getParent->isa('WebGUI::Asset::RSSCapable');
|
||||||
|
return '' unless $self->getParent->canView; # Go to parent for auth
|
||||||
my $parent = $self->getParent;
|
my $parent = $self->getParent;
|
||||||
my $template = WebGUI::Asset::Template->new($self->session, $parent->get('rssCapableRssTemplateId'));
|
my $template = WebGUI::Asset::Template->new($self->session, $parent->get('rssCapableRssTemplateId'));
|
||||||
$template->prepare;
|
$template->prepare;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue