Introduction to Drupal 7                            Session 7.2                    Users and roles managementDrupalist: Ka...
Agenda•    Users•    Roles•    Permissions•    Creating usersDrupalist: Kalin Chernev   Course by Init Lab (http://initlab...
CRUD• You can control who has the ability to do what  You define who has the ability to       – Read (View)       – Create...
Roles•    Categories for authenticated users•    No limitations on the number of roles you set•    No limitations on the n...
2 main types of roles• Anonymous users       – Do not enter credentials to enter the website• Authenticated users       – ...
Permissions• Permissions in Drupal are a mechanism for  controlling what a user assigned to a specific  role can do.• Ther...
User accounts• All Drupal websites have at least one user  account: the system administrator • 3 ways to work out new acc...
Which is the best option for us?Drupalist: Kalin Chernev   Course by Init Lab (http://initlab.org)   8
Account settings• Make sure you review Account settings page  on every new Drupal website you make• URL: ../admin/config/p...
Creating a new role   > Administration   > People   > Permissions   > RolesDrupalist: Kalin Chernev       Course by Init L...
Set permissions on the role• Comment: check all• Contextual links: Use contextual links• Filter: User the Filtered HTML te...
Creating User Accounts• Administration > People or• ../admin/peopleDrupalist: Kalin Chernev   Course by Init Lab (http://i...
Time for questionsDrupalist: Kalin Chernev       Course by Init Lab (http://initlab.org)   13
ContactsKalin Chernev       – E: kalata@shtrak.eu       – T: twitter.com/kalinchernev       – U: http://shtrak.eu/kalataDr...
Upcoming SlideShare
Loading in …5
×

Introduction to Drupal 7 Users and roles management

2,724 views

Published on

Presentation on Drupal 7 users and roles management.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,724
On SlideShare
0
From Embeds
0
Number of Embeds
481
Actions
Shares
0
Downloads
44
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Introduction to Drupal 7 Users and roles management

  1. 1. Introduction to Drupal 7 Session 7.2 Users and roles managementDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 1
  2. 2. Agenda• Users• Roles• Permissions• Creating usersDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 2
  3. 3. CRUD• You can control who has the ability to do what You define who has the ability to – Read (View) – Create – Update – DeleteDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 3
  4. 4. Roles• Categories for authenticated users• No limitations on the number of roles you set• No limitations on the naming you give• Any authenticated user of your website may be assigned to none, one, or more than one roleDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 4
  5. 5. 2 main types of roles• Anonymous users – Do not enter credentials to enter the website• Authenticated users – Enter user ID and password to access more functionalities or contentDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 5
  6. 6. Permissions• Permissions in Drupal are a mechanism for controlling what a user assigned to a specific role can do.• There are dozens of permissions – be careful!• Examples: – Create a page – Edit/edit own page, etcDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 6
  7. 7. User accounts• All Drupal websites have at least one user account: the system administrator • 3 ways to work out new accounts: – Users create their new accounts with no administrator moderation – Users create their new accounts, but administrator approval is needed – Only administrator can create new accountsDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 7
  8. 8. Which is the best option for us?Drupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 8
  9. 9. Account settings• Make sure you review Account settings page on every new Drupal website you make• URL: ../admin/config/people/accounts• For our case, let’s change the “Who can register accounts?” option to “Administrators only”Drupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 9
  10. 10. Creating a new role > Administration > People > Permissions > RolesDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 10
  11. 11. Set permissions on the role• Comment: check all• Contextual links: Use contextual links• Filter: User the Filtered HTML text format + Use the Full HTML text format• Menus: Administer menus and menu items• Node: Administer content + Access the content overview page + View published content + View own unpublished content + View content revisions + Article: Create new content + Article: Edit own content + Article Delete own content + same for Basic page• Search: use searchDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 11
  12. 12. Creating User Accounts• Administration > People or• ../admin/peopleDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 12
  13. 13. Time for questionsDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 13
  14. 14. ContactsKalin Chernev – E: kalata@shtrak.eu – T: twitter.com/kalinchernev – U: http://shtrak.eu/kalataDrupalist: Kalin Chernev Course by Init Lab (http://initlab.org) 14

×