Note: You are currently viewing documentation for Moodle 2.6. Up-to-date documentation for the latest stable version of Moodle may be available here: Blogger role.

Blogger role

From MoodleDocs

There are two slightly different ways of acheiving this role. The first role will let you grant permission to users to use the blog system. The second will allow you to prohibit users from using the blog system. Depending on how many users you want to allow access to the blog facility, will determine the best method for you to use.

Method 1 - Allow Users to use the Blog System

The role of Blogger may be used to limit blogging to specific users only.

Removing the capability to add blog entries

By default, all authenticated users may add blog entries. To remove this capability:

  1. Access Administration > Users > Permissions > Define roles.
  2. Click the edit icon opposite the authenticated user role.
  3. Change the capability moodle/blog:create from allow to not set.
  4. Click the "Save changes" button at the bottom of the page.

Role set-up

  1. Access Administration>Site administration > Users > Permissions > Define roles.
  2. Click the button "Add a new role".
  3. Give the role a name, such as "Blogger", short name and description.
  4. Choose the "system" context type
  5. Change the capability moodle/blog:create to allow.
  6. Click the button "Create this role".

Role assignment

  1. Access Administration > Users > Permissions > Assign system roles.
  2. Choose the blogger role to assign.
  3. Select a user in the potential users list, and use the left-facing arrow button to add it to the existing users list.

Method 2 - Prohibit Users from using the Blog System

The role of no-blog may be used to restrict users from using the blog system if they have abused it.

Check capability to add blog entries

Ensure that all authenticated users have the ability to add blog entries (they do bt default!)

  1. Access Administration > Users > Permissions > Define roles.
  2. Click the edit icon opposite the authenticated user role.
  3. Change the capability moodle/blog:create , if it is set to anything else, to allow.
  4. Click the "Save changes" button at the bottom of the page.

Role set-up

  1. Access Administration > Users > Permissions > Define roles.
  2. Click the button "Add a new role".
  3. Give the role a name, such as "No Blogs", short name and description.
  4. Choose "system" for the context
  5. Change the capability moodle/blog:create to prohibit.
  6. Click the button "Create this role".

Role assignment

  1. Access Administration > Users > Permissions > Assign system roles.
  2. Choose the no-blog role to assign.
  3. Select a user in the potential users list, and use the left-facing arrow button to add it to the existing users list.