• Resolved onico0

    (@onico0)


    Hello,

    I didn’t find anyway using “roles/capabilities” (User Role Editor) to allow Editors to fully view listings and edit it in the dashboard… I had to hardcode

    'show_ui' => current_user_can( 'administrator' ) ? true : true

    in :
    class-acadp-admin-listings.php

Viewing 1 replies (of 1 total)
  • Plugin Author pluginsware

    (@pluginsware)

    Hi Nicolas,

    At the moment, the back-end access is restricted only to the site administrator for security reasons. I have users frequently asking this and in future, we will add the feature to allow admin access for users based on the ROLES/CAPABILITY.

    As an immediate solution, you can get this by adjusting our code,

    1. Open /wp-content/plugins/advanced-classifieds-and-directory-pro/admin/class-acadp-admin-listings.php

    2. Search for the line,

    'show_ui' => current_user_can( 'administrator' ) ? true : false,

    3. Replace it as,

    'show_ui' => current_user_can( 'administrator' ) || current_user_can( 'editor' ) ? true : false,

    4. Save the changes and try now.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘User Role Editor’ is closed to new replies.