add protected room mount type.

This commit is contained in:
Miroslav Šedivý
2022-01-17 22:35:41 +01:00
parent 332261a889
commit f140f9bc89
6 changed files with 16 additions and 6 deletions
+1
View File
@@ -337,6 +337,7 @@ export interface RoomMount {
export enum RoomMountTypeEnum {
private = 'private',
template = 'template',
protected = 'protected',
public = 'public'
}
+6 -1
View File
@@ -273,7 +273,8 @@
<v-row align="center" no-gutters v-if="data.mounts.length > 0">
<p>
<strong>Private</strong>: Host path is relative to <code class="mx-1">&lt;storage path&gt;/rooms/&lt;room name&gt;/</code>. <br />
<strong>Template</strong>: Host path is relative to <code class="mx-1">&lt;storage path&gt;/templates/</code> and is readonly. <br />
<strong>Template</strong>: Host path is relative to <code class="mx-1">&lt;storage path&gt;/templates/</code>, and will be readonly. <br />
<strong>Protected</strong>: Host path must be whitelisted in config and exists on the host, will be readonly. <br />
<strong>Public</strong>: Host path must be whitelisted in config and exists on the host.
</p>
</v-row>
@@ -503,6 +504,10 @@ export default class RoomsCreate extends Vue {
text: 'Template',
value: 'template',
},
{
text: 'Protected',
value: 'protected',
},
{
text: 'Public',
value: 'public',