From 1a22d13aa1a7af04fd0d47f41493653757e21d6c Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Tue, 10 Aug 2010 22:22:09 -0500 Subject: [PATCH] document why we only allow admins to add --- lib/WebGUI/Asset/Wobject/AssetReport.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/WebGUI/Asset/Wobject/AssetReport.pm b/lib/WebGUI/Asset/Wobject/AssetReport.pm index f0c9ed18c..dfa859dd8 100644 --- a/lib/WebGUI/Asset/Wobject/AssetReport.pm +++ b/lib/WebGUI/Asset/Wobject/AssetReport.pm @@ -28,6 +28,9 @@ use base qw/WebGUI::Asset::Wobject/; Class method to verify that the user has the privileges necessary to add this type of asset. Return a boolean. Override this method to ensure that admin is the default group. +Only allow admins to add AssetReport as AssetReport currently bypasses normal +asset security measures. + =head3 session The session variable.