Skip to content

Conversation

@shreyalpandit
Copy link
Collaborator

Added a view for users who are an action editor for a particular event. They are able to view the responses that they were assigned to and assign reviewers to a response.
(Still need to add tests for action editor permissions)

image

image

@shreyalpandit shreyalpandit requested a review from avishkar58 April 3, 2023 13:39
Copy link
Contributor

@avishkar58 avishkar58 left a comment

Choose a reason for hiding this comment

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

This is really well done, thank you Shreya!!

if current_user.is_event_admin(event_id):
responses = response_repository.get_all_for_event(event_id, not include_unsubmitted)

elif current_user.is_action_editor(event_id):
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if there's a better name than "action-editor" that's not a journal-specific term, since the functionality is not limited to a journal event type. Will try think of something too!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I agree! I was thinking something along the lines of evaluator, critic, etc. What do you think?

@avishkar58
Copy link
Contributor

Will approve once you've added the tests for action editor permissions :)

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.

3 participants