I think the UI for this module could be greatly simplified if it used the user permissions form to set which user roles had access to a particular content type in search.

Comments

fizk’s picture

I agree! I fully expected that was how the module worked before I installed it.

cerup’s picture

+1 It's very difficult to go through 15+ content types and set their permissions. Moving this to permissions page should be simple and much more effective.

houdelou’s picture

Agree

alan d.’s picture

I was directed here by the maintainer. This issue is holding things up, so here is my 2 cents on the UI.

Create a permissions system similar to the node permission system.

These could be something like:

search all content
# loop of all content types
search page content
search book content

[UI interface and enforce by altering the query]

And to extend the module to mimic search config

allow access to search by node keyword
allow access to search by node category
allow access to search by node type
allow access to search by node containing keyword
etc

[UI interface enforcement only]

alan d.’s picture

Proof of the concept can be found here: #1192448: Drupal 7 permission based configuration

robert castelo’s picture

Status: Active » Closed (works as designed)

I prefer the configuration to stay on the content type edit page, the Permissions page on most sites is so overloaded as to be almost unusable.

I find it quicker to set up a content type and immediately set up it's search permissions.

I'll definitely review on the Drupal 8 version though.