On a normal node/edit page we have the vertical tabs at bottom if there is permission to access the things offered by the modules, such as node sceduling. Well and good, but what about if the permissions are there, but for some reason the $form['options']['#access']=FALSE?

How do I find where that FALSE is coming from?

Note: this is not for Admin, but for a user > Authenticated, < Admin.

Accepted answer

In the end I used a tweak to the form_alter and overrode the permissions, via
 

if($rolevar > 1){

$form['options']['#access']=true; //make sure the publishing options are available for the Cooordinators

}

Where $rolevar is a binary ANDed  sum of the roles for the user, ie. any user with a role greater than Authenticated.

Comments

Hi. @onyx. Do you have Simplify module enabled? That could explain it.

Nope, but thanks, will have a look at what that does, and see if there is something analogous.

In the end I used a tweak to the form_alter and overrode the permissions, via
 

if($rolevar > 1){

$form['options']['#access']=true; //make sure the publishing options are available for the Cooordinators

}

Where $rolevar is a binary ANDed  sum of the roles for the user, ie. any user with a role greater than Authenticated.