Drupal 8 user role management

Drupal 8 user role management

In this article, you will let you know more about Drupal 8 user roles and permission. Roles and permission activity differs right! For employees & authors, you can set user roles whereas to make changes in content-type like delete, view, save and edit etc you can allot permissions.

Even if it gets worst to handle functionality, you can grant permission to Content-Type and admins usually get user roles for managing their social network and portals.

Step 1: In Drupal 8, you can see three user roles in default such as administrator, authenticated user and anonymous user.

Admin of website has permission to configure and install themes & modules.

Anonymous users can access the comment, contact forms and search option. The functionality level is based on the settings of permission.

Authenticated users have access to delete posts, edit and content creation. Here, the admin decides the verification of email when you are to signup.

Go to administration and start reviewing the settings /admin/people/roles. You can add new roles if required. Go to /admin/people/permissions and start reviewing the settings in permission.

Use this path /admin/config/people/accounts to review and make the decision to use verification email while signing up.

Step 2: Go to /admin/people/roles/add and add a name to the role you created. Don’t forget to save the settings!

Under the permission settings, you can see the option “Edit permission” to make changes on the permission settings.

Save all these settings!

Step 3: Do enable on all required modules in Drupal 8. For doing further processes like forum posts, comments and blogs, it is a must for you to ensure the policy is hosted by the website publisher.

What is the difference between an anonymous user and the registered user?

Anonymous user works in viewing comment, contact form and search.

Registered users have access to work on posting, viewing and editing comments, account cancellation, username changes, contact form details, content edit and delete their account.

Step 4: There is a view of static content and dynamic content in websites right! Using views in dynamic content helps you to assign user roles. By creating the views differently for authenticated and anonymous users, it is possible to decide on using browsers for promotion in eCommerce and social media.

Step 5: First check the products in the user path and then use live attachment in Drupal 8 which permits registered users to access eCommerce and social media. Use different browsers and navigation processes for testing the login.

If you need to update information in settings of permission kindly do changes before getting into live.

That’s it! Assigning user roles in Drupal 8 is an easy task!
Author
kumkumsharma
Views
302
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from kumkumsharma

Top