Mantis Bug Tracker

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000621ForumAdministrationpublic2009-11-03 11:56
Reporterhungtv 
Assigned Toadministrator 
PriorityhighSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version0.7.0 
Target VersionFixed in Version0.7.1 
Summary0000621: error in Manage Moderators
DescriptionWhen I give privileges for portal on forum "Game" and privileges for hungtv on forum "Multimedia Software", it works well(see pre.jpg). When I log on as hungtv, it shows right privileges on forum "Multimedia Software". But, when I log on as portal and go to "Manage Moderators" to edit hungtv privileges, it show hungtv's privileges the same as Portal(see show_wrongpre.jpg).
TagsNo tags attached.
Attached Filesjpg file icon pre.JPG (52,902 bytes) 2009-11-02 04:51


jpg file icon show_wrongpre.JPG (66,887 bytes) 2009-11-02 04:52


jpg file icon 1.JPG (48,927 bytes) 2009-11-03 03:20


jpg file icon 2.JPG (64,680 bytes) 2009-11-03 03:22


jpg file icon 3.JPG (46,594 bytes) 2009-11-03 03:25


jpg file icon 4.JPG (66,853 bytes) 2009-11-03 03:25


jpg file icon 5.JPG (65,839 bytes) 2009-11-03 03:34


jpg file icon query.JPG (12,733 bytes) 2009-11-03 03:50

- Relationships
related to 0000622resolvedadministrator Wrong permissions displayed on forum moderators page 

-  Notes
~0001439
hungtv (reporter)


What is the problem here? Plz help me!!! :(
~0001440
administrator (administrator)


Hello

Can you give me a step by step testcase so i can try to reproduce it on my 0.7.1 version?
~0001441
administrator (administrator)


can you also give me the result of the following statment

select forum_id, user_id, count(priv_id) from t_forum_admin_privs group by forum_id, user_id
~0001444
hungtv (reporter)


- I log on as portal and assign full privileges for portal on forum "Game".
- It works well and show right checked box on "Manage the moderator privileges" page.
- But when I assign full privileges for hungtv on forum "Multimedia Software"
- It works well but not show right checked box on "Manage the moderator privileges" page.
- When I log on as hungtv, and go to "Manage the moderator privileges" page, it show show right checked box.

I think that checked boxes privileges here work wrong. It shows checked boxes just for current user log on, not for user I'm editing.

See figures step by step.
~0001445
hungtv (reporter)


Here is result for query: select forum_id, user_id, count(priv_id) from t_forum_admin_privs group by forum_id, user_id
(see query.jpg)
~0001446
hungtv (reporter)


What time is your next version release? I wait for your next version soon!
~0001448
administrator (administrator)


i have been able to confirm the issue
~0001449
administrator (administrator)


the issue is linked to a wrong usage of the can_modo_do function (that is using the current user id)
~0001450
administrator (administrator)


Fixed
~0001452
administrator (administrator)


"What time is your next version release? I wait for your next version soon! "

if you don't find any new bugs i should be able to release it this week

- Issue History
Date Modified Username Field Change
2009-11-02 04:51 hungtv New Issue
2009-11-02 04:51 hungtv File Added: pre.JPG
2009-11-02 04:52 hungtv File Added: show_wrongpre.JPG
2009-11-02 11:28 hungtv Note Added: 0001439
2009-11-02 11:31 administrator Note Added: 0001440
2009-11-02 11:38 administrator Status new => assigned
2009-11-02 11:38 administrator Assigned To => administrator
2009-11-02 11:43 administrator Note Added: 0001441
2009-11-03 03:18 hungtv Note Added: 0001444
2009-11-03 03:20 hungtv File Added: 1.JPG
2009-11-03 03:22 hungtv File Added: 2.JPG
2009-11-03 03:25 hungtv File Added: 3.JPG
2009-11-03 03:25 hungtv File Added: 4.JPG
2009-11-03 03:30 hungtv Issue Monitored: hungtv
2009-11-03 03:31 hungtv Issue End Monitor: hungtv
2009-11-03 03:34 hungtv File Added: 5.JPG
2009-11-03 03:48 hungtv Note Added: 0001445
2009-11-03 03:50 hungtv File Added: query.JPG
2009-11-03 03:54 hungtv Note Added: 0001446
2009-11-03 11:35 administrator Note Added: 0001448
2009-11-03 11:35 administrator Status assigned => confirmed
2009-11-03 11:46 administrator Note Added: 0001449
2009-11-03 11:52 administrator Note Added: 0001450
2009-11-03 11:52 administrator Status confirmed => resolved
2009-11-03 11:52 administrator Fixed in Version => 0.7.1
2009-11-03 11:52 administrator Resolution open => fixed
2009-11-03 11:54 administrator Relationship added related to 0000622
2009-11-03 11:56 administrator Note Added: 0001452