($self->in_group('editcomponents', $product->id)
&& $self->can_see_product($product->name))
- || ThrowUserError('product_access_denied', {product => $product->name});
+ || ThrowUserError('product_admin_denied', {product => $product->name});
# Return the validated product object.
return $product;
create the milestone '[% defaultmilestone FILTER html %]'</a> before
it can be made the default milestone for product '[% product FILTER html %]'.
- [% ELSIF error == "product_access_denied" %]
+ [% ELSIF error == "product_admin_denied" %]
[% title = "Product Access Denied" %]
You are not allowed to edit properties of product '[% product FILTER html %]'.