Skip to content

Commit

Permalink
make system.product_name avail to readonly_admin (#13969)
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo authored Jul 3, 2024
1 parent 17fa363 commit ebb4351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/system/product.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class SystemService(Service):

PRODUCT_TYPE = None

@accepts()
@accepts(roles=['READONLY_ADMIN'])
@returns(Str('product_type'))
async def product_type(self):
"""
Expand Down

0 comments on commit ebb4351

Please sign in to comment.