I configured Content Access to allow per node settings for a given content type. 90% of nodes of this type should be visible to everybody, so I set the default permissions accordingly (view: anonymous + authenticated users). But there are these 10% of nodes which should in no way be visible to anonymous users and authenticated users who are not in some given role. So when creating one of these private nodes, I expect to have a way to restrict view permissions at the same time as the creation of this node, else there will be some time (a few minutes or tens of seconds) during which the node will be visible to everybody before the node author had time to restrict access.

My proposal would be to have a UI similar to what the Page Access module does: https://www.drupal.org/project/page_access. @fago, @id.tarzanych: do you agree with this proposal?

Comments

LpSolit created an issue. See original summary.

gisle’s picture

Category: Bug report » Feature request
Priority: Major » Normal
Status: Active » Closed (outdated)

This issue has not received any updates in the previous 3 years. If you believe it to still be relevant, you are encouraged to reopen the issue and update it.

If you got an email about this Issue status update, it is because you at one time (possibly a very long time ago), subscribed to it. To learn how to unsubscribe yourself, please visit: https://www.drupal.org/project/webmasters/issues/3142987

LpSolit’s picture

Status: Closed (outdated) » Active

I think it's still relevant. Reopening!

gisle’s picture

Noted.

I am not going to work on this (unless somebody sponsors this feature), but a well-designed patch will be appreciated

gisle’s picture

Status: Active » Postponed (maintainer needs more info)
Related issues: +#179407: include the access control settings in the node form

There is an open duplicate with the same feature request: #179407: include the access control settings in the node form for Drupal 7.

I don't want to have both open.

LpSolit,
which of these to you want to keep open?

If there is no answer after two weeks, this will be closed, as the other one has some interesting comments and some code that may be useful for anyone trying to implement this, even if that code is for Drupal 7 and needs to be rerolled for Drupal 8.

gisle’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)