mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 00:49:07 +08:00
Merge pull request #7371 from sboursen-scinote/sb_SCI-10517
Owner of project is able to change own roles on child objects [SCI-10517]
This commit is contained in:
commit
6c0a598356
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
|||
<div class="text-xs text-sn-grey text-nowrap">{{ userAssignment.attributes.inherit_message }}</div>
|
||||
</div>
|
||||
<MenuDropdown
|
||||
v-if="!userAssignment.attributes.last_owner && params.object.urls.update_access"
|
||||
v-if="!userAssignment.attributes.last_owner && params.object.urls.update_access && !(userAssignment.attributes.current_user && userAssignment.attributes.inherit_message)"
|
||||
class="ml-auto"
|
||||
:listItems="rolesFromatted(userAssignment)"
|
||||
:btnText="userAssignment.attributes.user_role.name"
|
||||
|
|
Loading…
Reference in a new issue