Viewing all files for “editor” role

Viewing 3 posts - 1 through 3 (of 3 total)
#168201

HSH
Participant

Hi, I would like to know why setting the editor role does not show the list of all the files inserted.
With User Role Editor I have set the editing of posts but the user can only add a new file.

Thank you

#168202

HSH
Participant
I also added this code in wp-config.php

if(!defined('WPDM_ADMIN_CAP'))
    define('WPDM_ADMIN_CAP','edit_posts');

if(!defined('WPDM_MENU_ACCESS_CAP'))
    define('WPDM_MENU_ACCESS_CAP','edit_posts');

but the list does not appear. How come?

thank you



			    
            
#168219

Tanvir
Moderator

Hello HSH,
add this:

if(!defined('WPDM_ADMIN_CAP'))
define('WPDM_ADMIN_CAP','edit_posts');

if(!defined('WPDM_MENU_ACCESS_CAP'))
define('WPDM_MENU_ACCESS_CAP','edit_posts');

to just under this line:

/**
* Define cookie domain if it is already not defined
*/

 

in the ../plugins/download-manager/download-manager.php file and save.

 

it will always solve the issue.

Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Viewing all files for “editor” role’ is closed to new replies.