ashish-infocentroid / alumnisangam

Automatically exported from code.google.com/p/alumnisangam
0 stars 0 forks source link

First login taking me to access denied page #128

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Claim an ID
2. Authorize [as admin]
3. Log in as new user using temp pwd [example: animesh - Animesh Pathak 
CSE03]

What is the expected output? What do you see instead?
I expect a normal user home screen. However, I see an access denied screen. 
Also, for some reason, I am logged in as guest [thanks to E for pointing 
that out], and there is no logout link!!

Please provide any additional information below.
Try claiming an ID. Lemme know how it goes. Try any one for now.

Original issue reported on code.google.com by animesh on 19 Mar 2010 at 10:34

Attachments:

GoogleCodeExporter commented 8 years ago
I just did the following:

1. Cleaned out v2bb
2. reuploaded from fresh v2bb.sql
3. reloaded all fixtures
4. tried the steps mentioned in the bug report.

Same error :-(.

Original comment by animesh on 20 Mar 2010 at 11:37

GoogleCodeExporter commented 8 years ago
Did some sniffing around. It seems that I am not getting the credential 'user' 
upon 
logging in. Therefore I am set as guest. Weird.

Original comment by animesh on 20 Mar 2010 at 12:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Note: This is happenning in 

<a href="http://www.google.com/codesearch/p?
hl=en#KU02Q1glxZM/trunk/source/apps/frontend/modules/home/actions/actions.class.
php&q=
addCredential 
package:http://alumnisangam\.googlecode\.com&sa=N&cd=4&ct=rc&l=74">this 
line</a> [home/actions/actions.class.php line 74]

And basically, no credentials are being 'added' to the user.

Original comment by animesh on 20 Mar 2010 at 12:24

GoogleCodeExporter commented 8 years ago
cracked it!

The app.yml in frontend/config FIXES certain numerical IDs to roles

but in the fixtures, we messed up the order of roles.

Working on a patch now. Should fix it.

Original comment by animesh on 20 Mar 2010 at 12:35

GoogleCodeExporter commented 8 years ago
Fixed in r194

Original comment by animesh on 20 Mar 2010 at 1:03