@@ -134,55 +227,23 @@
{principal} is an admin of this workspace and can read and write every item in it.
{:else}
-
- {#if access.groups.length}
-
- {#each access.groups as group (group)}
- g/{group}
- {/each}
-
- {:else}
- Not in any group.
- {/if}
-
-
-
- {#if access.folders.length}
-
-
-
- | Folder |
- Access |
- Why |
-
-
-
- {#each access.folders as folder (folder.name)}
-
- | f/{folder.name} |
- {folder.write ? 'Write' : 'Read'} |
-
-
- {#if folder.owner}
- Owner
- {/if}
- {#each folder.via as via (via)}
- {folderVia(via)}
- {/each}
-
- |
-
+ {#if !isGroup}
+
+ {#if access.groups.length}
+
+ {#each access.groups as group (group)}
+ g/{group}
{/each}
-
-
- {:else}
- No folder is shared with {principal}.
- {/if}
-
+
+ {:else}
+ Not in any group.
+ {/if}
+
+ {/if}