Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managers can't approve assignments #2654

Closed
mkimberlin opened this issue Oct 22, 2024 · 4 comments · Fixed by #2661
Closed

Managers can't approve assignments #2654

mkimberlin opened this issue Oct 22, 2024 · 4 comments · Fixed by #2661
Assignees
Labels
bug Something isn't working web-ui

Comments

@mkimberlin
Copy link
Member

I'm not sure exactly what is causing this...but it seems that users configured to be able to update, view, create, and delete review assignments can't do so. This is preventing managers from being able to approve their team's review assignments.

They also should not see their own review assignment or those that belong to other managers.

Screenshot 2024-10-22 at 9 22 11 AM

@mkimberlin mkimberlin added bug Something isn't working web-ui labels Oct 22, 2024
@ocielliottc ocielliottc self-assigned this Oct 22, 2024
@ocielliottc
Copy link
Collaborator

@mkimberlin According to the code, the user must have the CAN_UPDATE_REVIEW_PERIOD permission in order to modify the reviewers.

@mkimberlin
Copy link
Member Author

@ocielliottc that permission should be used to limit edits made to the review period itself (who is included in the review, the dates, the launch status, etc). However, every manager will need the ability to add, remove or update review assignments...and I'll be creating a manager role with those permissions. I would make the add button depend on the create_review_assignments permissions (not sure about these names, but you'll get the idea), the remove button depend on delete_review_assignments, and the approve button(s) depend on the update_review_assignments permission.

@ocielliottc
Copy link
Collaborator

@mkimberlin Since, in the dialog that comes up when hitting the "plus" button, the user can add or remove reviewers, I think the button should require both create and delete permissions. Right?

@mkimberlin
Copy link
Member Author

@ocielliottc ideally, I think we would make that member selector limit their ability to remove existing assignments if they didn't have the delete permission, however for now your suggestion is sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working web-ui
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants