mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 09:23:58 +08:00
Disable user roles change for owner in inherited access permission [SCI-10517]
This commit is contained in:
parent
4beb3fae96
commit
b0341beeed
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