mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
add protected room mount type.
This commit is contained in:
@@ -337,6 +337,7 @@ export interface RoomMount {
|
||||
export enum RoomMountTypeEnum {
|
||||
private = 'private',
|
||||
template = 'template',
|
||||
protected = 'protected',
|
||||
public = 'public'
|
||||
}
|
||||
|
||||
|
||||
@@ -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"><storage path>/rooms/<room name>/</code>. <br />
|
||||
<strong>Template</strong>: Host path is relative to <code class="mx-1"><storage path>/templates/</code> and is readonly. <br />
|
||||
<strong>Template</strong>: Host path is relative to <code class="mx-1"><storage path>/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',
|
||||
|
||||
Reference in New Issue
Block a user