Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 635
  • Last Modified:

Drupal node access based on Username

I need to be able to create new pages and/or Ubercart products that will allow someone with an administrator role to be able to set what users can view it based on their username and not their role type. I've tried to use the Node Access Modules but I haven't been able to get it to work.

My thought is to create a certain content type and/or product type and then be able to set access for a different user each time a new page or product is created.

What is the best module to accomplish this task.

Thank you for any help.
0
lallen30
Asked:
lallen30
  • 4
  • 2
2 Solutions
 
nanharbisonCommented:
There is a module called content_access that allows you to set permissions to view pages based on access level or author
http://drupal.org/project/content_access
0
 
lallen30Author Commented:
Thank you for your comment. I am familiar with module but it allows access based on role type and/or the author that created the node. I need an admin to be able to create a page and set access for a non-admin to be able to view the page based on their username not their role type.
0
 
nanharbisonCommented:
Yes, you can choose user names to grant access to. See the screen shot below. You search for a user, and then can choose to add them to the grant permissions page

contentaccessmodule.jpg
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
lallen30Author Commented:
Are you using that with another module because I've installed it but that field isn't showing up for me. Also my tab up top says Access Control not Grant.
0
 
nanharbisonCommented:
Hmmm, I seem to remember I had trouble setting this up, but it didn't involve another module. What version of Drupal are you using?
0
 
nanharbisonCommented:
Oh wait, I think you need the ACL module to make this work
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now