Viewing 4 replies - 1 through 4 (of 4 total)
  • Looking at source code, rights to upload are only given to admins roles…

    $role = get_role('administrator');
    	if(!$role->has_cap('manage_downloads')) {
    		$role->add_cap('manage_downloads');
    	}

    Test if you can edit wp-downloadmanager.php ikf you only have editor role (or author, or however low you want to set it.).

    //$role = get_role('administrator');
    	$role = get_role('editor');
    	if(!$role->has_cap('manage_downloads')) {
    		$role->add_cap('manage_downloads');
    	}

    I am myself surprised that this seems to be hardcoded or does it expect another plugin managing capabilities?!

    As I can work around this my code change of this “dead” piece of software, I mark it as solved (see second last comment of mine, where EDITOR becomes minimum role for upload)

    Okay, not my thread. Shepstar, can you live with the solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘You don't have permission to access /wp-admin/admin.php on this server.’ is closed to new replies.