Templates CPT Not Available to "Shop Manager" role

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

Comments

Sign In or Register to comment.