• Hi,

    I have created different user roles (using Advanced Access Manager plugin).
    2 of them are Superadmin and Admin.
    Both are practically the same, just copied them.
    The only difference is that I have hidden some menu items from admin (like media , links and theme options).
    However when I login with an admin account I cant seem to go to the settings of Student Results.
    mysite.com/wp-admin/edit.php?post_type=rps_result_student
    Is simply not reachable. It display “access denied” as text.

    How can I solve this ?
    (deactivating AAM plugin didn’t work).

    https://wordpress.org/plugins/easy-student-results/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Nurul Umbhiya

    (@zikubd)

    Hi,
    Thanks for contacting support.
    For user role access, all menu items are assigned administrator as capability while using add_submenu_page() function. If other menu item works, I guess this should work too. Can you please check Advanced Access Manager plugin again ?

    Try to find rps_result in your Advanced Access Manager plugin settings. If you can locate rps_result, give administrator access for rps_result.

    I guess this will solve your problem, if it doesn’t solve your problem, follow below steps.

    1. Open plugins/easy-student-results/RPS/Admin/Menu/Settings.php using any ftp client like FileZilla.
    2. Goto Line number: 30, this should looks like:
      add_submenu_page(RPS_Result_Management::PLUGIN_SLUG, __('Easy Student Results', $this->TD) . ' - ' . __("Settings", $this->TD), __("Settings", $this->TD), 'administrator', RPS_Result_Management::PLUGIN_SLUG . '_settings',array($this,'mainDiv'));
    3. Replace administrator with manage_options ie: add_submenu_page(RPS_Result_Management::PLUGIN_SLUG, __('Easy Student Results', $this->TD) . ' - ' . __("Settings", $this->TD), __("Settings", $this->TD), 'manage_options', RPS_Result_Management::PLUGIN_SLUG . '_settings',array($this,'mainDiv'));

    Hope this steps will solve your options. If it doesn’t, then don’t hesitate to contact support.

    Thanks,
    Nurul Umbhiya

    Plugin Author Nurul Umbhiya

    (@zikubd)

    Also follow above steps for /plugins/easy-student-results/RPS/Admin/Menu/Main.php files too.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Setting page is restricted’ is closed to new replies.