The add / edit user drawer now exposes a Source select (Local / OIDC /
SAML / CAS) so an admin can flip an existing account between Local
password and an external IdP without touching the database. Mirrors
the matching `PUT /v1/users/{id}` change on the backend.
Password field follows the selected source:
* Hidden when source != Local — those users authenticate via the IdP
and a local password row would be a /login bypass.
* Required when CREATE-with-Local, or when EDIT is switching an SSO
user back to Local (the backend rejects SSO -> Local without a
fresh password to avoid locking the user out of /login).
* Optional when editing an already-Local user, matching today's
behaviour.
A switch in EDIT mode surfaces a tip explaining the side effect
(password cleared / new password required) so the consequence isn't
hidden. The Source select is disabled on self-edit — same guard the
role column already uses — so an admin can't lock themselves out by
flipping their own row to an external source.
Strings are added to all five locales; the IdP protocol acronyms
(OIDC / SAML / CAS) render verbatim and don't need translation keys.
52 lines
2.7 KiB
TypeScript
52 lines
2.7 KiB
TypeScript
export default {
|
||
'users.title': 'Kullanıcılar',
|
||
'users.button.create': 'Kullanıcı Ekle',
|
||
'users.form.edit': 'Kullanıcıyı Düzenle',
|
||
'users.form.create': 'Kullanıcı Ekle',
|
||
'users.table.username': 'Kullanıcı Adı',
|
||
'users.table.role': 'Rol',
|
||
'users.table.status': 'Durum',
|
||
'users.status.active': 'Aktif',
|
||
'users.status.inactive': 'Pasif',
|
||
'users.form.active': 'Hesap Etkin',
|
||
'users.form.active.description':
|
||
'Bu kullanıcı hesabını etkinleştir veya devre dışı bırak',
|
||
'users.form.fullname': 'Tam Ad',
|
||
'users.form.source': 'Kaynak',
|
||
'users.form.source.local': 'Yerel',
|
||
'users.form.source.tip.switchToLocal':
|
||
'Yerel kaynağa geçmek yeni bir parola gerektirir. Kullanıcı bundan sonra standart oturum açma formunu kullanır.',
|
||
'users.form.source.tip.switchToExternal':
|
||
'Harici bir kaynağa geçmek kullanıcının yerel parolasını siler. Kullanıcı bundan sonra yapılandırılmış kimlik sağlayıcı üzerinden oturum açar.',
|
||
'users.table.user': 'kullanıcılar',
|
||
'users.form.admin': 'Yönetici',
|
||
'users.form.user': 'Kullanıcı',
|
||
'users.form.newpassword': 'Yeni Şifre',
|
||
'users.form.currentpassword': 'Mevcut Şifre',
|
||
'users.form.updatepassword': 'Şifreyi Değiştir',
|
||
'users.form.rule.password':
|
||
'Büyük ve küçük harf, rakam ve özel karakter(!@#$%^&*_+) içermelidir, 6 ile 64 karakter arasında olmalıdır, boşluk kullanılamaz.',
|
||
'users.password.uppcase': 'En az bir büyük harf',
|
||
'users.password.lowercase': 'En az bir küçük harf',
|
||
'users.password.number': 'En az bir rakam',
|
||
'users.password.special': 'En az bir özel karakter',
|
||
'users.password.length': 'Uzunluk 6 ile 64 karakter arasında',
|
||
'users.password.modify.title': 'Şifreyi Değiştir',
|
||
'users.password.modify.description':
|
||
'Hesabınızın güvenliği için lütfen başlangıç şifrenizi değiştirin.',
|
||
'users.password.modify.tips':
|
||
'Parolanızı düzenli olarak güncellemek hesabınızın güvenliğini korumaya yardımcı olur.',
|
||
'users.password.confirm': 'Yeni Şifreyi Onayla',
|
||
'users.password.confirm.empty': 'Lütfen yeni şifreyi tekrar girin.',
|
||
'users.password.confirm.error': 'Girilen iki şifre eşleşmiyor.',
|
||
'users.login.title': 'Giriş yap:',
|
||
'users.version.islatest': 'GPUStack {version} en güncel sürümdür',
|
||
'users.version.update': 'GPUStack {version} kullanılabilir',
|
||
'users.settings.title': 'Kullanıcı Ayarları',
|
||
'users.status.activate': 'Hesabı Etkinleştir',
|
||
'users.status.deactivate': 'Hesabı Devre Dışı Bırak',
|
||
'users.status.inactiveAccount': 'Pasif Hesap',
|
||
'users.login.getInitialPassword':
|
||
'Başlangıç yönetici şifresini almak için GPUStack Sunucunuzda aşağıdaki komutu çalıştırın.'
|
||
};
|