Viewing all files for “editor” role

in Download Manager Free

Viewing 3 posts - 1 through 3 (of 3 total)
Feb 15, 2022 at 3:21 pm
#168201
Participant
HSH
OP

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

Feb 15, 2022 at 3:40 pm
#168202
Participant
HSH
OP
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


                    
Feb 16, 2022 at 3:10 am
#168219
Spectator
Tanvir

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.