MantisBT - ATutor
View Issue Details
0004612ATutor- no cat -public2010-11-10 09:122010-12-20 10:18
cindy 
cindy 
normalminoralways
closedfixed 
 
2.0.2 
SVN
0004612: Admin link "Modules" is always presented even when the admin is not assigned privilege to "Modules"
How to produce:

login as super admin -> Users -> create an admin account -> at "Privilege" section, don't check "Modules" -> logout -> login with new admin account -> "Modules" link and top nav tab are still available.

http://atutor.ca/view/7/21137/1.html [^]
No tags attached.
Issue History
2010-11-10 09:12cindyNew Issue
2010-11-10 09:12cindyAffects version => SVN
2010-11-30 08:52gregStatusnew => assigned
2010-11-30 08:52gregAssigned To => cindy
2010-12-09 13:08cindyStatusassigned => resolved
2010-12-09 13:08cindyFixed in Version => 2.0.2
2010-12-09 13:08cindyResolutionopen => fixed
2010-12-09 13:08cindyNote Added: 0004781
2010-12-20 10:18gregStatusresolved => closed

Notes
(0004781)
cindy   
2010-12-09 13:08   
SVN revision: 10499

Solution: Adjusted admin privilege validation in various "Modules" and core scripts.

Affected:
include/lib/menu_pages.php
mods/_core/modules/add_new.php
mods/_core/modules/create.php
mods/_core/modules/default_mods.php
mods/_core/modules/default_side.php
mods/_core/modules/details.php
mods/_core/modules/index.php
mods/_core/modules/install_modules.php
mods/_core/modules/modules.php
mods/_core/modules/module_install_step_1.php
mods/_core/modules/module_install_step_2.php
mods/_core/modules/module_install_step_3.php
mods/_core/modules/module_uninstall_step_1.php
mods/_core/modules/module_uninstall_step_2.php
mods/_core/modules/module_uninstall_step_3.php
mods/_core/modules/version_history.php