Skip to content

Conversation

@jackkeller
Copy link
Collaborator

  • updates permissions for Feedback > Reviews ( removes isAdmin, adds hasReportPermissions)

];

const getFeedbackLinks = (isAdmin, isPDL, isSupervisor) => {
const getFeedbackLinks = (isAdmin, isPDL, isSupervisor, hasReportPermission) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, in looking at this again...this isn't actually the right permission set. I'll identify it and drop it to you shortly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I'll work in the changes at that point.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These feedback links should be accessible as follows:

  • FEEDBACK -> Any of CAN_VIEW_FEEDBACK_ANSWER, CAN_VIEW_FEEDBACK_REQUEST, CAN_VIEW_REVIEW_PERIOD
    • View Feedback -> CAN_VIEW_FEEDBACK_ANSWER
    • Received Requests -> CAN_VIEW_FEEDBACK_REQUEST
    • Reviews -> CAN_VIEW_REVIEW_PERIOD
    • Self-Reviews -> CAN_VIEW_REVIEW_PERIOD

Implementing this depends on PR #2476 being merged

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That PR is merged now.

@jackkeller
Copy link
Collaborator Author

Aside from context/selectors.js and Menu.jsx the rest of the files were updated by yarn format.

@jackkeller jackkeller merged commit 3e9c57d into develop Jun 5, 2024
@mkimberlin mkimberlin linked an issue Sep 3, 2024 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create Review Period dashboard page

5 participants