Quantcast
Channel: Betheme Support Forum
Viewing all articles
Browse latest Browse all 93546

Templates CPT Not Available to "Shop Manager" role

$
0
0

Hello,

Can you please look at relaxing/changing your hard-coded permissions check within functions/post-types/class-mfn-post-type-template.php?

Line 29-31 states:

if( !current_user_can('editor') && !current_user_can('administrator') ){
     return false;
}

This then stops the "Shop Manager" role from editing templates - which is a higher role than "Editor".

Is there a need to hard-code this?

I would expect if someone wished to have granular control over editing CPTs, they'd use something like PublishPress Capability Manager plugin to disable that CPT.


Thanks


Viewing all articles
Browse latest Browse all 93546

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>