Skip to content

Commit

Permalink
Housing enquiry permission added to admin, supervisor, navigator & na…
Browse files Browse the repository at this point in the history
…vigator read-only, InputMaskInternal placeholder prop type changed to fix console warning
  • Loading branch information
sanjaytkbabu committed Oct 2, 2024
1 parent dbffa2a commit 0545cb1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const { label, name, mask, placeholder, disabled, bold } = defineProps<{
label: string;
name: string;
mask: string;
placeholder: string;
placeholder: string | undefined;
disabled: boolean;
bold: boolean;
}>();
Expand Down
9 changes: 8 additions & 1 deletion frontend/src/store/authzStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const NavigationAuthorizationMap = [
group: GroupName.ADMIN,
permissions: [
NavigationPermission.HOUSING_DROPDOWN,
NavigationPermission.HOUSING_ENQUIRY,
NavigationPermission.HOUSING_STATUS_TRACKER,
NavigationPermission.HOUSING_SUBMISSION,
NavigationPermission.HOUSING_SUBMISSIONS,
Expand All @@ -37,14 +38,19 @@ const NavigationAuthorizationMap = [
group: GroupName.NAVIGATOR,
permissions: [
NavigationPermission.HOUSING_DROPDOWN,
NavigationPermission.HOUSING_ENQUIRY,
NavigationPermission.HOUSING_STATUS_TRACKER,
NavigationPermission.HOUSING_SUBMISSION,
NavigationPermission.HOUSING_SUBMISSIONS
]
},
{
group: GroupName.NAVIGATOR_READ_ONLY,
permissions: [NavigationPermission.HOUSING_SUBMISSION, NavigationPermission.HOUSING_SUBMISSIONS]
permissions: [
NavigationPermission.HOUSING_ENQUIRY,
NavigationPermission.HOUSING_SUBMISSION,
NavigationPermission.HOUSING_SUBMISSIONS
]
},
{
group: GroupName.PROPONENT,
Expand All @@ -61,6 +67,7 @@ const NavigationAuthorizationMap = [
group: GroupName.SUPERVISOR,
permissions: [
NavigationPermission.HOUSING_DROPDOWN,
NavigationPermission.HOUSING_ENQUIRY,
NavigationPermission.HOUSING_STATUS_TRACKER,
NavigationPermission.HOUSING_SUBMISSION,
NavigationPermission.HOUSING_SUBMISSIONS,
Expand Down

0 comments on commit 0545cb1

Please sign in to comment.