Access Permissions – Editor Role

Viewing 6 posts - 1 through 6 (of 6 total)
#164204

Ronja Baumann
Participant

Hello everyone,

I have a question regarding access permissions to downloads. Namely I have a site with different editor roles in the backend. But the files should basically be available in the frontend for all visitors of the site for free and without login. Now it is that when I am logged in as administrator on a file post, I can set the “Package Settings” window at the bottom to “All Visitors” with the “Allow Access” setting, thus allowing downloads for all visitors. If I am logged in with one of the editor roles, this “Package Settings” window unfortunately disappears and the setting cannot be made. Unfortunately, this also makes the files uploaded by editors not downloadable for normal users. Even if I duplicate and publish a file previously uploaded by the administrator with the setting “All Visitors” as editor, this Access setting is changed again, so that not all users can see the file.

Now here is my question/are my questions: is it possible

(1) either set the default setting to “Allow Access” – “All Visitors”, no matter which editor uploads a new file in the backend

(2) or can you tell me the necessary permission or capability I would have to enable via the permissions and roles system for the editors to see the “Package Settings” box in the backend?

I would be very grateful for quick help, as the problem is quite acute.
Thanks in advance for any tips!

Kind regards
Ronja

#164211

Nayeem Riddhi
Moderator

Hello @ronjabaum,

Hope you are well. For #1, Yes, possible, you can set default access for the certain role by this add-on,

WPDM Default Values

And for #2, Can you please elaborate on the issue, editors to see the Package Settings box in the backend, I have checked from my testing side, editors are also able to access the package setting panel. please let me know

Thank you and regards

#164216

Ronja Baumann
Participant

Hello Nayeem,

thanks for your fast answer!

1. Thanks for the tip, just one question: is this addon plugin compatible with the free version of download manager or do I need to buy the Pro Version of the download manager too?

2. I integrated individual roles with AAM Access Management Plugin, but the roles are based on the editor role and I did not customize any functions or settings, so I assumed it would be some editor setting. But still do you have any idea what the capability is called? I can add capabilities with AAM plugin to make this function available for the editors.

Thanks in advance for your help.

Best regards
Ronja

#164221

Nayeem Riddhi
Moderator

Hello @ronjabaum,

For #1, No, you can continue with the download manager free version too with default value add-on

And for #2, I am not aware of AAM Access Management Plugin, but you may try adding the following code in the wp-config.php file for the editor role,

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

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

Thank you and regards

#164285

Ronja Baumann
Participant

Hello Nayeem Riddhi,

thank you very much for your answer!
Unfortunately the code did not work and I also tried adding the terms as capabilities, but the metabox is still gone for the roles as I explained before. Do you have any other idea what the capability might be called or where to find it?

Thank you.

Best regards
Ronja

#164293

Nayeem Riddhi
Moderator

Hello @ronjabaum,

Can you please contact AAM Access Management Plugin support too regarding the issue, I think the plugin conflicting somewhere for the issue, please check

Thank you and regards

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

The topic ‘Access Permissions – Editor Role’ is closed to new replies.