(frontend) add trusted user option in admin panel access settings

Update admin panel interface to include the newly introduced trusted
user access level option alongside existing public and restricted settings.
Allows room administrators to select this intermediate permission level
through the frontend configuration panel.
This commit is contained in:
lebaudantoine
2025-03-04 16:04:53 +01:00
committed by aleb_the_flash
parent 0aa4f6389b
commit 00cd4fc92a
5 changed files with 19 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ export type ApiLiveKit = {
export enum ApiAccessLevel {
PUBLIC = 'public',
TRUSTED = 'trusted',
RESTRICTED = 'restricted',
}

View File

@@ -90,6 +90,11 @@ export const Admin = () => {
label: t('access.levels.public.label'),
description: t('access.levels.public.description'),
},
{
value: ApiAccessLevel.TRUSTED,
label: t('access.levels.trusted.label'),
description: t('access.levels.trusted.description'),
},
{
value: ApiAccessLevel.RESTRICTED,
label: t('access.levels.restricted.label'),

View File

@@ -183,6 +183,10 @@
"label": "",
"description": ""
},
"trusted": {
"label": "",
"description": ""
},
"restricted": {
"label": "",
"description": ""

View File

@@ -182,6 +182,10 @@
"label": "Open",
"description": "No one needs to request to join the meeting."
},
"trusted": {
"label": "Open to trusted people",
"description": "Authenticated people do not need to request to join the meeting."
},
"restricted": {
"label": "Restricted",
"description": "People who have not been invited to the meeting must request to join."

View File

@@ -180,7 +180,11 @@
"levels": {
"public": {
"label": "Ouvrir",
"description": "Persone n'a à demander à rejoindre la réunion."
"description": "Persone n'a à demander pour rejoindre la réunion."
},
"trusted": {
"label": "Ouvrir aux personnes de confiance",
"description": "Les personnes authentifiées n'ont pas à demander pour rejoindre la réunion."
},
"restricted": {
"label": "Restreindre",