Add new role of a viewer.

Project:RUetd
Version:2.2.0
Component:Code
Category:feature request
Priority:normal
Assigned:chadmills
Status:closed
Description

A new role needs to be added that only allows for viewing of submitted papers and supplementary files. This role will be able to search for Students and View Submissions but not be able to delete any paper or supplementary file.

Comments

#1

Status:active» test

Edited 'content/view_submissions.php' to add new Viewer role exception
Edited 'content/track.php' to add new Viewer role exception
Edited 'content/search.php' to add new Viewer role exception
Edited 'content/submit_steps/step4.php' to add new Viewer role exception
Edited 'content/create_account.php' to add new Viewer role in account creation screen

Updated database table 'roles' with new role
INSERT INTO `roles` (`nRoleID`, `nAccessLevel`, `chRoleLabel`) VALUES ('4', '5', 'Viewer');

Updated database table "roles2priviledges' with new associations
INSERT INTO `roles2privileges` (`fkRoleID`, `fkPrivilegeID`) VALUES ('4', '8');
INSERT INTO `roles2privileges` (`fkRoleID`, `fkPrivilegeID`) VALUES ('4', '3');
INSERT INTO `roles2privileges` (`fkRoleID`, `fkPrivilegeID`) VALUES ('4', '5');
INSERT INTO `roles2privileges` (`fkRoleID`, `fkPrivilegeID`) VALUES ('4', '2');

Finally this user should not filter on school so the school associated in the account setup is not relevant.

To test create a new account with role Viewer and log in as the Viewer and determine all functionality is working. Also test the submission of a new paper with supplementary files, test this as a Viewer as well.

#2

Adjusted Create Account to not allow Reviewer roles to create Viewer accounts. Also Viewer roles do not need a school selected when creating an account.

#3

Status:test» fixed

Viewer account can be created by Administrator role only and can be created with no school associated with the account. Viewer has the following functions on the Main Menu: View Submissions, Search for Student, Update My Account, Change Password. In View Submissions, Viewer can filter on same criteria as available to Reviewer (grad date, embargoed, ProQuest, paper status, display size, degree type). In Search for Student, Viewer can enter Last and/or First and/or both names. When a list of ETDs is displayed via either function, Viewer can select one, then on resulting Submission Detail screen, Viewer can open the main PDF and any supplementary files that are listed. At that point, Viewer can save the files anywhere available to them for use in other activities (e.g., binding service). Viewer cannot delete any files.

#4

Status:fixed» closed

Back to top