Home

Suckerfish Menu

  • Books
  • Recent Posts
  • Video Tutorials
  • Links
  • Blog
    • Home
    • Contact
    • Login-Register

Books on Drupal

There are many books on Drupal based on a wide range of topics. I have a page devoted to Drupal books that are available for purchase. Help support the site by purchasing your next book through DrupalDude.com.

Today's popular content

  • Clean URL's need .htaccess File (4)
  • Drupal 5 Overview - Build a website in 10 minutes (4)
  • Drupal Books (3)
  • Where to install Drupal 5 Modules (3)
  • Search 404 Module in Drupal 6 (3)
more

Creating Roles in Drupal 5

Submitted by Drupal Dude on Fri, 07/24/2009 - 11:20am
  • Administration
  • Drupal 5.x

From the default installation, Drupal sets up two roles for you. What are these roles, what can I do with them, and can I create more? I hope to answer these questions for you.

What are roles?
Roles give access to certain parts of your Drupal site. Depending on what your role is within the site, you can access certain features of the site.

The roles Drupal sets up are Anonymous and Authenticated User. Everyone who visits a Drupal site is one of these two roles.

Anonymous
This is anyone who visits your site and who is not logged in as a user. By default, anonymous users can view your content. That's really about all they can do by default.

Authenticated User
This is anyone who is logged in... including you, the administrator. If they are logged in, they are and Authenticated User. They have more access to your site by default, including posting comments.

Drupal has a great Access Control feature that allows you to change the access privileges of these roles, but even better, you can create new roles.

Maybe you want to have an Writer role. This role would allow users who are logged into your Drupal site and are marked as a writer to write articles for your site. They can also edit there own articles at anytime. And last, maybe you don't want these article published until they are approved by an editor.

Now we need to add the Editor role. This role allows an editor to make changes to any article, not just the ones that they have written. This role also can approve articles for publishing on your Drupal site.

Once you create a new role and assign access to them, you need to assign users to these new roles. This is very easy. Just find the user you want to change or add a role to in Users under User Management. Click Edit and you will now see some checkboxes for all the roles you have created. Click the role(s) you want to assign the user to and hit submit. That user now has a new role or roles, as users can have multiple roles!

One thing to remember as you add modules in the future is that each module will more than likely have access privileges for dofferent roles. This means that you can set access to that modules features depending on what role a user is assigned to. I have added modules many times and at first they do not seem to work. It is all because I forgot to give certain roles access to that module.

As you can see, roles can be pretty powerful in a work flow. If you have a Drupal site or are looking at creating one, make sure you check out the roles feature.

Bookmark/Search this post with:
  • Delicious Delicious
  • Digg Digg
  • StumbleUpon StumbleUpon
  • Technorati Technorati
  • Add new comment
  • Delicious Delicious
  • Digg Digg
  • StumbleUpon StumbleUpon
  • Technorati Technorati

thanks for this topci see

Submitted by amllycom on Tue, 03/09/2010 - 2:21pm.

thanks for this topci see online

منتديات |
العاب |
تصميم
| فيديو | املي |
دردشة
شات
منتديات الامير

  • reply

Latest Twitter Posts

Twitter Updates

    follow me on Twitter

    Popular Video Tutorials

    • Drupal 5 Overview - Build a website in 10 minutes (17,633)
    • Scheduling Posts using Drupal (5,216)
    • Adding Content Types to Drupal 5 (4,775)
    • Drupal Poormanscron Module (4,774)
    • Changing the Length of Post That Shows on Front Page (4,737)
    • Taxonomy or Categories in Drupal (4,463)
    • Clean URL's need .htaccess File (4,153)
    • Comments in Drupal 5 (4,134)
    • Where to install Drupal 5 Modules (4,070)
    • Setting Up A Contact Form in Drupal 5 (3,808)

    Recent comments

    • This is brilliant. One issue
      4 hours 7 min ago
    • Wow Thanks
      15 hours 34 min ago
    • Bases can be a waste of time
      19 hours 28 min ago
    • Interesting point
      1 day 5 hours ago
    • There are some very great
      1 day 5 hours ago
    • Superbe article, vraiment
      1 day 5 hours ago
    • 111
      1 day 5 hours ago
    • tickets
      2 days 5 hours ago
    • The good feature also about
      2 days 8 hours ago
    • Thanks for a great article
      2 days 11 hours ago
    more

    Search

    Navigation

    • Popular content
    • Recent posts

    Buy Me A Beer

    Categories

    General

    • Administration (15)
    • Concepts (3)
    • Installation (4)
    • News (2)

    Drupal Version

    • Drupal 5.x (30)
    • Drupal 6.x (7)

    Modules

    • Comments (1)
    • Contact List (1)
    • Fuzzy Search (1)
    • Meta Tags (1)
    • Node Clone (1)
    • Node Words (1)
    • Path (1)
    • Pathauto (1)
    • Poormanscron (1)
    • Scheduler (1)
    • Search 404 (1)
    • Statistics (1)
    • Taxonomy (Category) (2)
    Powered by Drupal, an open source content management system
    Drupal is a registered trademark of Dries Buytaert. "Drupal Dude" is not affilliated with Drupal.org or the Drupal Association
    RoopleTheme