ashish-infocentroid / alumnisangam

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

Permissions still screwed up #124

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. updated to r188
2. did the two propel steps
3. logged in as admin, changed pwd to the standard one.
4. Clicked on branch and year stats

got one alum in cse2003 [as expected. I have changed admin to cse 2003 :)]

5. clicked on the "1" that it showed.

The next page says there are no results - due to privacy!!

!! I cannot see my own profile in a listing? How does that work??

Original issue reported on code.google.com by animesh on 16 Mar 2010 at 8:36

GoogleCodeExporter commented 8 years ago
Dhushyanth, can you please comment if you were able to replicate the bug at 
your end?
please make sure to update to the latest version from SVN

Original comment by animesh on 17 Mar 2010 at 11:09

GoogleCodeExporter commented 8 years ago
This bug is a copy of #issue 125
However I have attached a modified patch which cleans up the profile page by 
adding a
note table to the user_data fixture.

Original comment by R.DUSHYA...@gmail.com on 17 Mar 2010 at 4:18

Attachments:

GoogleCodeExporter commented 8 years ago
Patch did not work, since you did not an svn up before creating it :). Manually 
applying the changes and trying now.

Original comment by animesh on 18 Mar 2010 at 4:11

GoogleCodeExporter commented 8 years ago
Why are some lines of this patch commented out?

+#    linkedin:
+#    linkedinFlag:
+#    hobbies:
+#    hobbiesFlag:
+#    interest:

Original comment by animesh on 18 Mar 2010 at 4:32

GoogleCodeExporter commented 8 years ago
Still cannot see my name in search listing. This is r190

Original comment by animesh on 18 Mar 2010 at 4:53

GoogleCodeExporter commented 8 years ago
I can see other users, but Admin seems to be too tied up.

Weird fact - if I go through the "claim" search page, I can see that admin is 
part of 
CSE 2003, but not if I go through the usual search.

Seems that claim has a different code when returning list of users from Search.

Original comment by animesh on 18 Mar 2010 at 5:07

GoogleCodeExporter commented 8 years ago
The flags are needed to prevent the privacy images for linkedIn IDs etc. from 
looking 
broken :).

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

GoogleCodeExporter commented 8 years ago
I think I got it - the search returns no results since the admin has no 
"usertype" - 
he has to be usertype 1 = alumni [I think] to show in results.

What say?

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

GoogleCodeExporter commented 8 years ago
setting userType = 1 in the fixture fixed it.

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