fix(ui): don't show "Password" user settings tab if current user lacks perms to modify the password (#1063)

This commit is contained in:
TheCatLady
2021-03-02 08:04:50 -05:00
committed by GitHub
parent bbc0b74b9d
commit b146d11e2f
3 changed files with 15 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ const messages = defineMessages({
nopasswordsetDescription:
'This user account currently does not have a password specifically for {applicationTitle}.\
Configure a password below to enable this account to sign in as a "local user."',
nopermission: 'No Permission',
nopermission: 'Unauthorized',
nopermissionDescription:
"You do not have permission to modify this user's password.",
});