Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/pages/roles/RolesContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,15 @@ const PERMISSION_GROUPS = [
},
],
},
{
groupName: `Invoices`,
children: [
{
id: `CanViewInvoices`,
name: `Can View Invoices`,
},
],
},
]

export const RolesContent = observer(({
Expand Down
1 change: 1 addition & 0 deletions src/pages/roles/roles-enums.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ export const Permissions = {
AUTO_TESTS_ONLY_IsSetUserPasswordBypassingEmailConfirmationAllowed: `AUTO TESTS ONLY Is Set User Password Bypassing Email Confirmation Allowed`,
CanManagePersonalTimeTracker: `Can Manage Personal Time Tracker`,
AUTO_TESTS_ONLY_IsEntriesHardDeleteAllowed: `AUTO TESTS ONLY Is Entries Hard Delete Allowed`,
CanViewInvoices: `Can View Invoices`,
}
1 change: 1 addition & 0 deletions src/routes/state/AccessBasedOnPemissionsState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export enum Permission {
AUTO_TESTS_ONLY_IsSetUserPasswordBypassingEmailConfirmationAllowed = `AUTO_TESTS_ONLY_IsSetUserPasswordBypassingEmailConfirmationAllowed`,
CanManagePersonalTimeTracker = `CanManagePersonalTimeTracker`,
AUTO_TESTS_ONLY_IsEntriesHardDeleteAllowed = `AUTO_TESTS_ONLY_IsEntriesHardDeleteAllowed`,
CanViewInvoices = `CanViewInvoices`,
}

export class AccessBasedOnPemissionsState {
Expand Down
Loading