Link to home
Start Free TrialLog in
Avatar of lallen30
lallen30Flag for United States of America

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of nanharbison
nanharbison
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lallen30

ASKER

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.
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
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.
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?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial