diff --git a/app/assets/locales/en.json b/app/assets/locales/en.json index bc52d3968f5..85489e6c004 100644 --- a/app/assets/locales/en.json +++ b/app/assets/locales/en.json @@ -351,7 +351,8 @@ "manage_roles": "Allow users with this role to edit other roles", "shared_list": "Include users with this role in the dropdown for sharing rooms", "room_limit": "Room Limit", - "email_on_signup": "Receive an email when a new user signs up" + "email_on_signup": "Receive an email when a new user signs up", + "allowed_recording_visibility": "Allowed recording visibilities" } } }, diff --git a/app/javascript/components/admin/roles/forms/EditRoleForm.jsx b/app/javascript/components/admin/roles/forms/EditRoleForm.jsx index 5e90df42c1d..f2ee3793d50 100644 --- a/app/javascript/components/admin/roles/forms/EditRoleForm.jsx +++ b/app/javascript/components/admin/roles/forms/EditRoleForm.jsx @@ -31,6 +31,7 @@ import { useAuth } from '../../../../contexts/auth/AuthProvider'; import RolePermissionRowPlaceHolder from '../RolePermissionRowPlaceHolder'; import useEditRoleNameForm from '../../../../hooks/forms/admin/roles/useEditRoleNameForm'; import useEditRoleLimitForm from '../../../../hooks/forms/admin/roles/useEditRoleLimitForm'; +import Select from "react-select"; export default function EditRoleForm({ role }) { const { t } = useTranslation(); @@ -137,6 +138,28 @@ export default function EditRoleForm({ role }) { defaultValue={rolePermissions?.EmailOnSignup === 'true'} /> +
+ +
+ {t('admin.roles.edit.allowed_recording_visibility')} +
+
+