Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: Private access to webpage content

Private access to webpage content 9 months 2 weeks ago #53546

If a user has been assigned a particular role. How does one, give that user access to a particular page after he/she has logged in. I would like to assure that other users of the system who don't have that role CANNOT access this page, even via the URL.
Please become a member of OSTraining to reply to this post.

Private access to webpage content 9 months 2 weeks ago #53588

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 16797
  • Thank you received: 386
  • Karma: 56
Hi dsingh2001,

Give the following tutorial a try:
www.ostraining.com/courses/session/drupa...les-and-permissions/

What Drupal version are you using?

Are you wanting a client area? Or what purpose will this page serve?

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Private access to webpage content 9 months 2 weeks ago #53617

Thanks Nick for the reply.

I'm using Drupal 7. I've been experimenting with Organic Groups but if "simple" roles would do the trick so much the better. I will look into this. I'm trying to hide database data from Website users not authorized to view it. This includes direct access of pages via a URL.
Please become a member of OSTraining to reply to this post.

Private access to webpage content 9 months 1 week ago #53628

  • Nick
  • Nick's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 16797
  • Thank you received: 386
  • Karma: 56
You're welcome, dsingh2001! :)

By the way, we have a class on Organic Groups as well:
www.ostraining.com/courses/class/drupal/og/view/

Kind regards,
Nick
Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Powered by Kunena Forum

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.