• Hi,

    when using the editor role, WordPress is showing me an error message that the user does not have enough permissions to create or edit slideshows (while the editor role does have edit_posts capabilities). In my child theme, in the functions.php file, I added the below functions as described in one of the previous threads:

    add_filter('slideshow_ck_capability', 'set_slideshow_ck_capability', 10, 1);
    
    function set_slideshow_ck_capability($cap) {
        $cap = 'edit_posts';
        
        return $cap;
    }

    This only enabled the Slideshow CK menu, I can see all available slideshows, however I can not edit them. I’m using Slideshow CK Pro 1.4 and Slideshow CK Pro Addon version 1.1.2.

    Could you please suggest, what could be the issue?

    Best regards

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author CeiKay

    (@ced1870)

    Hi
    what are you using as plugin to set up the user rights ?
    try to give “manage_options” as rights to your user
    CEd

    Thread Starter marianssen

    (@marianssen)

    Thanks, this worked. However, is it possible to enable it without giving the “manage_options” as rights to the user?

    Plugin Author CeiKay

    (@ced1870)

    great
    if you look at the end of the plugin file, you will find the filter function commented
    try to uncomment it and see if it works with the “edit_posts”. If yes the problem comes from the code in your theme

    Thread Starter marianssen

    (@marianssen)

    I don’t think this is a theme-related issue. I just created a localhost with a clean install of WordPress 5.2.2 with a twentysixteen child theme installed. In the functions.php file I added the below code:

    add_filter('slideshow_ck_capability', 'set_slideshow_ck_capability', 10, 1);
    
    function set_slideshow_ck_capability($cap) {
        $cap = 'edit_posts';
        
        return $cap;
    }

    I’m still not able to access the slideshows with the editor role. I have also tried uncommenting the code inside of the plugin (while the original twentysixteen theme was activated), and this removed the plugin entry completely from the admin and editor menu.

    Plugin Author CeiKay

    (@ced1870)

    ok, I have found the problem. I will put an update asap

    Plugin Author CeiKay

    (@ced1870)

    you can use the 1.4.1 version now

    Thread Starter marianssen

    (@marianssen)

    Thanks for the quick update! However, the Slideshow CK pro version of the plugin can’t get updated, showing a “Not Found” error after clicking update.

    Plugin Author CeiKay

    (@ced1870)

    have you filled your license number in the plugin ?

    Thread Starter marianssen

    (@marianssen)

    Unfortunately, no. When I try to fill-in the license key, the loading animation shows up, and nothing happens. The console.log shows a 400 error. Could you please send me your contact e-mail? I could send you the license key, or give you access to the website.

    Thread Starter marianssen

    (@marianssen)

    I just tried using the license key on the clean localhost install, and I still receive a 400 error.

    Thread Starter marianssen

    (@marianssen)

    Hi, could you please at least provide me with the fixed plugin, or update file inside of the plugin? I’m not able to update the plugin automatically with license key due to the 400 error.

    Plugin Author CeiKay

    (@ced1870)

    Hi,
    of course, you can download it into your account here
    https://www.ceikay.com/my-account/downloads/

    let me know
    CEd

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Not sufficient permissions for editor role’ is closed to new replies.