Open rezkiy37 opened 3 days ago
Triggered auto assignment to @twisterdotcom (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Hi, I am Michael (Mykhailo) from Callstack, an expert agency and I can work on this issue.
Job added to Upwork: https://www.upwork.com/jobs/~021839691254986841972
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah (External
)
Not sure whether I need to review this PR or not as it has been noticed here while reviewing other PR.
To wrap WorkspacePageWithSections with AccessOrNotFoundWrapper to avoid giving access of the Invoice page to the user where areInvoicesEnabled is false.
<AccessOrNotFoundWrapper
accessVariants={[CONST.POLICY.ACCESS_VARIANTS.ADMIN, CONST.POLICY.ACCESS_VARIANTS.PAID]}
policyID={route.params.policyID}
featureName={CONST.POLICY.MORE_FEATURES.ARE_INVOICES_ENABLED}
>
<WorkspacePageWithSections
...
</WorkspacePageWithSections>
</AccessOrNotFoundWrapper>
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
@ChavdaSachin, I've already started to work on the issue - https://github.com/Expensify/App/issues/49842#issuecomment-2379204621. Moreover, I have a draft PR (https://github.com/Expensify/App/pull/49843). Going to open it soon 🙂
Part of the Invoicing payments project
Main issue: https://github.com/Expensify/Expensify/issues/382977 Project: https://github.com/orgs/Expensify/projects/114/views/3
Feature Description
To wrap WorkspacePageWithSections with AccessOrNotFoundWrapper to avoid giving access of the Invoice page to the user where
areInvoicesEnabled
isfalse
.Manual Test Steps
Automated Tests
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rezkiy37