mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 21:12:27 +00:00
Restrict link-sharing onboarding popup to admins.
Only people with admin permission to the Project can see the Share button and dialog. It doesn't make sense to alert users who can't interact with the feature anyway.
This commit is contained in:
parent
666ee0669a
commit
faf6178fa8
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ div.full-size(
|
|||
|
||||
#onboarding-linksharing.onboarding-linksharing.popover(
|
||||
ng-controller="LinkSharingOnboardingController"
|
||||
ng-if="onboarding.linkSharing == 'unseen'"
|
||||
ng-if="permissions.admin && onboarding.linkSharing == 'unseen'"
|
||||
ng-class="placement"
|
||||
)
|
||||
.popover-inner
|
||||
|
|
Loading…
Reference in a new issue