Main Page: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 5: Line 5:
== Proposed Solutions ==
== Proposed Solutions ==


'''Issue '''  
'''Issue ''' <br>
Currently, there is no method present which checks if the User is an instructor / TA for the selected course (namely a Course Staff member). <br>
Currently, there is no method present which checks if the User is an instructor / TA for the selected course (namely a Course Staff member). <br>
'''Need '''  
'''Need ''' <br>
This method is required for redirection of pages which is dependent on the user role. Also, it is required to identify if the review is performed by the course staff.  
This method is required for redirection of pages which is dependent on the user role. Also, it is required to identify if the review is performed by the course staff. <br>
'''Proposed implementation '''  
'''Proposed implementation ''' <br>
A new helper file named as course_staff_helper.rb will be created in expertiza/helpers/ which will consist a method which checks if the user is a TA/Instructor for the course
A new helper file named as course_staff_helper.rb will be created in expertiza/helpers/ which will consist a method which checks if the user is a TA/Instructor for the course<br>


== Test Plan ==
== Test Plan ==


== Team ==
== Team ==

Revision as of 23:35, 9 November 2019

Introduction

Problem Statement

Proposed Solutions

Issue
Currently, there is no method present which checks if the User is an instructor / TA for the selected course (namely a Course Staff member).
Need
This method is required for redirection of pages which is dependent on the user role. Also, it is required to identify if the review is performed by the course staff.
Proposed implementation
A new helper file named as course_staff_helper.rb will be created in expertiza/helpers/ which will consist a method which checks if the user is a TA/Instructor for the course

Test Plan

Team