Browse Source

CR-024 update

cr022024
Jason Chuang 22 hours ago
parent
commit
604b83480b
3 changed files with 2 additions and 17 deletions
  1. +0
    -14
      src/layout/MainLayout/Header/index.js
  2. +1
    -2
      src/pages/Setting/HkidKeyMigration/index.js
  3. +1
    -1
      src/pages/Setting/UserPiiEncryption/index.js

+ 0
- 14
src/layout/MainLayout/Header/index.js View File

@@ -516,20 +516,6 @@ function Header(props) {


{isGranted("MAINTAIN_SETTING") ? ( {isGranted("MAINTAIN_SETTING") ? (
<> <>
<li>
<Link className="systemSetting" to="/setting/hkidKeyMigration">
<Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 2, mt: 1, mb: 1 }}>
HKID Key Migration
</Typography>
</Link>
</li>
<li>
<Link className="systemSetting" to="/setting/userPiiEncryption">
<Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 2, mt: 1, mb: 1 }}>
User PII Encryption
</Typography>
</Link>
</li>
<li> <li>
<Link className="systemSetting" to="/setting/sys"> <Link className="systemSetting" to="/setting/sys">
<Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 2, mt: 1, mb: 1 }}> <Typography style={{ opacity: 0.9 }} variant={"pnspsHeaderTitle"} sx={{ ml: 2, mt: 1, mb: 1 }}>


+ 1
- 2
src/pages/Setting/HkidKeyMigration/index.js View File

@@ -64,7 +64,7 @@ const HkidKeyMigration = () => {
<div style={BackgroundHead}> <div style={BackgroundHead}>
<Stack direction="row" height='70px' justifyContent="space-between" alignItems="center"> <Stack direction="row" height='70px' justifyContent="space-between" alignItems="center">
<Typography ml={15} color='#FFF' variant="h4" sx={{ textShadow: "0px 0px 25px #0C489E" }}> <Typography ml={15} color='#FFF' variant="h4" sx={{ textShadow: "0px 0px 25px #0C489E" }}>
HKID Key Migration
Encryption Key Migration
</Typography> </Typography>
</Stack> </Stack>
</div> </div>
@@ -74,7 +74,6 @@ const HkidKeyMigration = () => {
<Box sx={{ borderRadius: '10px', backgroundColor: '#fff', p: 4 }}> <Box sx={{ borderRadius: '10px', backgroundColor: '#fff', p: 4 }}>
<Typography variant="body1" sx={{ mb: 2 }}> <Typography variant="body1" sx={{ mb: 2 }}>
Re-encrypt identification and checkDigit from the legacy key to the new key. Re-encrypt identification and checkDigit from the legacy key to the new key.
Ensure Tomcat has both <code>security.hkid-secret</code> and <code>security.hkid-secret-legacy</code> configured before running.
</Typography> </Typography>
<Stack direction="row" spacing={2}> <Stack direction="row" spacing={2}>
<Button variant="outlined" size="large" disabled={wait} onClick={() => runMigration(true)}> <Button variant="outlined" size="large" disabled={wait} onClick={() => runMigration(true)}>


+ 1
- 1
src/pages/Setting/UserPiiEncryption/index.js View File

@@ -94,7 +94,7 @@ const UserPiiEncryption = () => {
<div style={BackgroundHead}> <div style={BackgroundHead}>
<Stack direction="row" height='70px' justifyContent="space-between" alignItems="center"> <Stack direction="row" height='70px' justifyContent="space-between" alignItems="center">
<Typography ml={15} color='#FFF' variant="h4" sx={{ textShadow: "0px 0px 25px #0C489E" }}> <Typography ml={15} color='#FFF' variant="h4" sx={{ textShadow: "0px 0px 25px #0C489E" }}>
User PII Encryption
User Fields Encryption
</Typography> </Typography>
</Stack> </Stack>
</div> </div>


Loading…
Cancel
Save