Thank you for the great module!
I was wondering if someone could help with the following:I am not able to find the Mark as private checkbox, when creating a node as anonymous user. The permission "Mark content as private" is set for anonymous, but no luck :( All is fine for user 1.

As this one is under the tab Publishing options, I was wondering if there is another permission I should enable for anonymous... Could you please advise?

Comments

triple5’s picture

This Question seems to show that you did not understand the privacy model, if something is private, it cannot be used for anonymous, because anonymous is anyone in the whole world accessing the site.

How would "anonymous" authenticate? Not at all, that is why it is anonymous!
Of course private nodes can only work for authenticated users.

triple5’s picture

Assigned: Unassigned » triple5
Status: Active » Closed (works as designed)
guillaumev’s picture

Title: Mark as private checkbox for anonymous » Mark as private checkbox for users without the "administer nodes" permission
Status: Closed (works as designed) » Active

I'd like to reopen this case, because I have a use case where I would like users who do NOT have 'administer nodes' permission to be able to mark some content as private. Unfortunately, for the moment, this is not possible, since the "Mark as private" checkbox is made available in the "Publishing options" fieldset, which is only available to users with the "administer nodes" permission...

pjmcghee’s picture

i too would like to see this addressed. Great module, but i want simply to allow a user the option to mark a node for a specific content type as private at the time the node is being authored.

Salonbus’s picture

yes. pls don't drop the checkbox in the "Publishing options" fieldset.

kerasai’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Assigned: triple5 » Unassigned
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.42 KB

Patch attached to handle this.

For users with the "administer nodes" permission

Checkbox remains as-is within the "Publishing options" vertical tabs.

For users without the "administer nodes" permission

Moves the "Make this post private" checkbox out of the "Publishing options" vertical tabs, placed just above the submit buttons.

One last bit

I suppose it's possible to work yourself into some weird behavior with permissions so pay close attention to how you assign permission to edit the nodes as well as viewing/marking/editing private content. It will be highly-configurable and should suit almost any need.

jason.bell’s picture

In situations where you don't give "administer nodes" permission to content editors and don't need to create a complex workflow state system this is great.

Patch works well and as intended.

AldenC’s picture

Thank you for this patch...just what I needed.

AldenC’s picture

Unfortunately though it doesn't help if you are using panels. :(

AldenC’s picture

UNCLE!...I appreciate the hard work that went into this module, but my needs are more demanding. I need to this to work with panels and rules, so I can use relations to control access.

In case anyone else hits the limits of this fine module, there is a great screencast on how to make nodes private with content access, flags and rules at http://nodeone.se/sv/node/725 .

The author of this module makes it clear it is for simple websites, so keep this in mind when you are trying to make it do something it wasn't designed to do.

Again thank you for a great, yet limited, module.

caw67’s picture

works!

  • eaton committed e7d11d8 on 7.x-1.x
    #1811316 by kerasai - move the checkbox out of publishing settings for...
eaton’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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