Skip to content

Commit

Permalink
Add "User Permissions" heading in permissions modal
Browse files Browse the repository at this point in the history
Added "User Permissions" heading in the permissions modal, right above the "Add user" button.
Also: tweak spacing for "Public" heading and corresponding toggle
  • Loading branch information
norrisng-bc committed Oct 31, 2023
1 parent fb0e269 commit 9765e19
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/components/object/ObjectPermission.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ onBeforeMount(() => {
<div>
<div class="flex flex-row gap-6 pb-3">
<div>
<h3>Public</h3>
<h3 class="pb-1">Public</h3>
<ul>
<li>This option toggles the file to be publicly available and accessible to anyone</li>
<li>To instead set explicit permissions, add users and use the options below</li>
</ul>
</div>
<div>
<div class="ml-4">
<InputSwitch
v-if="object"
v-model="object.public"
Expand All @@ -106,6 +106,10 @@ onBeforeMount(() => {
</div>
</div>

<div class="mt-1 mb-2">
<h3>User Permissions</h3>
</div>

<div v-if="!showSearchUsers">
<Button
class="mt-1 mb-4"
Expand Down

0 comments on commit 9765e19

Please sign in to comment.