We've restricted the abbility to manage publishing options to certain users, so when publishing options are not available in node editing page, "peekable" is not configured by default. When I check Peek status of a node with an admin user, I see that peekable in not enabled.

Comments

adixon’s picture

Assigned: Unassigned » adixon
Status: Active » Reviewed & tested by the community

thanks, I've fixed it in my cvs, should be in the latest dev soon.

- Alan

Rhino25782’s picture

Has this ever been followed up? I am experiencing the same problem and I can't find the patch... I am willing to look into it myself but if it has been done already, why re-invent the wheel...

Rhino25782’s picture

Well, since apparently the patch has never been committed (or I am too stupid to find it), here is how I fixed this:

in peek.module, around line 177, change:

    case 'update':
      if (user_access('administer peeks')) {
        _peek_peekability_save($node);
      }
      break;

to

    case 'update':
        _peek_peekability_save($node);
      break;
adixon’s picture

Thanks for this - I'm not sure where I thought i'd fixed it but it wasn't in the CVS. I've just put in your patch to CVS (for real!), i'll test it tomorrow when the dev version is up.

adixon’s picture

Version: 5.x-1.0 » 5.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

The dev snapshot was being generated from HEAD instead of the DRUPAL-5 branch, fixed (so the patched one should show up as the dev release tomorro).

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.