diff --git a/src/middlewared/middlewared/plugins/system/product.py b/src/middlewared/middlewared/plugins/system/product.py index 0517e656817ae..9ba96732026a6 100644 --- a/src/middlewared/middlewared/plugins/system/product.py +++ b/src/middlewared/middlewared/plugins/system/product.py @@ -24,7 +24,7 @@ class SystemService(Service): PRODUCT_TYPE = None - @accepts() + @accepts(roles=['READONLY_ADMIN']) @returns(Str('product_type')) async def product_type(self): """