Merge pull request #8771 from andrej-scinote/aj_SCI_12228

Fix users role on workspace error [SCI-12228]
This commit is contained in:
andrej-scinote 2025-08-11 15:55:43 +02:00 committed by GitHub
commit dfb3800ef3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,8 @@
id="<%= id %>"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="true">
aria-expanded="true"
<%= "disabled=disabled" unless can_manage_team_users?(user_assignment.team) %>>
<span class="sn-icon sn-icon-down"></span>
</button>
<ul class="dropdown-menu custom-dropdown-menu dropdown-menu-right" aria-labelledby="<%= id %>">