Skip to content

Commit

Permalink
Allow share administrators to the available RDMA capabilities. (#14960)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrimesix authored Nov 16, 2024
1 parent fd1e315 commit 3320b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/plugins/rdma/rdma.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_card_choices(self):
v['name'] = ':'.join(sorted(names))
return list(grouper.values())

@api_method(RdmaCapableProtocolsArgs, RdmaCapableProtocolsResult)
@api_method(RdmaCapableProtocolsArgs, RdmaCapableProtocolsResult, roles=['SHARING_ADMIN'])
async def capable_protocols(self):
result = []
is_ent = await self.middleware.call('system.is_enterprise')
Expand Down

0 comments on commit 3320b95

Please sign in to comment.