Security concern addressed
This commit is contained in:
parent
e1f378505c
commit
5db00743a6
|
|
@ -50,7 +50,7 @@ if ($id)
|
|||
{
|
||||
if(isLoggedIn())
|
||||
{
|
||||
if ($iteminfo->IsPublicDomain == true or $iteminfo->CreatorId == $user->id or $user->isAdmin())
|
||||
if ($iteminfo->IsPublicDomain == true or $iteminfo->CreatorId == $user->id or $user->isOwner())
|
||||
{
|
||||
ReturnAsset($iteminfo->Hash, $iteminfo->AssetTypeId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue