mirror of
https://github.com/open-webui/open-webui
synced 2025-06-04 03:37:35 +00:00
refac/security: set ac to private by default
This commit is contained in:
parent
5fea0a2221
commit
59dd798156
@ -35,7 +35,7 @@
|
|||||||
let auth_type = 'bearer';
|
let auth_type = 'bearer';
|
||||||
let key = '';
|
let key = '';
|
||||||
|
|
||||||
let accessControl = null;
|
let accessControl = {};
|
||||||
|
|
||||||
let enable = true;
|
let enable = true;
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
export let edit = false;
|
export let edit = false;
|
||||||
|
|
||||||
let name = '';
|
let name = '';
|
||||||
let accessControl = null;
|
let accessControl = {};
|
||||||
|
|
||||||
let loading = false;
|
let loading = false;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
let name = '';
|
let name = '';
|
||||||
let description = '';
|
let description = '';
|
||||||
let accessControl = null;
|
let accessControl = {};
|
||||||
|
|
||||||
const submitHandler = async () => {
|
const submitHandler = async () => {
|
||||||
loading = true;
|
loading = true;
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
let command = '';
|
let command = '';
|
||||||
let content = '';
|
let content = '';
|
||||||
|
|
||||||
let accessControl = null;
|
let accessControl = {};
|
||||||
|
|
||||||
let showAccessControlModal = false;
|
let showAccessControlModal = false;
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
description: ''
|
description: ''
|
||||||
};
|
};
|
||||||
export let content = '';
|
export let content = '';
|
||||||
export let accessControl = null;
|
export let accessControl = {};
|
||||||
|
|
||||||
let _content = '';
|
let _content = '';
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
export let onChange: Function = () => {};
|
export let onChange: Function = () => {};
|
||||||
|
|
||||||
export let accessRoles = ['read'];
|
export let accessRoles = ['read'];
|
||||||
export let accessControl = null;
|
export let accessControl = {};
|
||||||
|
|
||||||
export let allowPublic = true;
|
export let allowPublic = true;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
import AccessControl from './AccessControl.svelte';
|
import AccessControl from './AccessControl.svelte';
|
||||||
|
|
||||||
export let show = false;
|
export let show = false;
|
||||||
export let accessControl = null;
|
export let accessControl = {};
|
||||||
export let accessRoles = ['read'];
|
export let accessRoles = ['read'];
|
||||||
export let allowPublic = true;
|
export let allowPublic = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user