Issue 69: Change User Permission
Status:  Verified
Owner:
Closed:  Mar 2012
Project Member Reported by hki...@nd.edu, Feb 23, 2012
What steps will reproduce the problem?
1. Go to Home
2. Click on Change User Permission

Expected: Change User Permission
Instead: Home Page.


Mar 3, 2012
Project Member #1 cj...@nd.edu
Fixed it.

Lines 9-11 of modifyuser.php:  The following code redirected a logged in user back to the homepage.  It's possible that what they were trying to do was redirect a user back to the home page if you are NOT logged in.  But the next if statement checks user admin/permissions level, rendering this possible option redundant.

if(($_SESSION['valid']) == "valid") { //if already logged in
	header( 'Location: ./home.php' ); //redirect to the homepage
}

Anyways, I commented it out.

Status: Verified