Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: error/forum/noviewdiscussionspermission.

error/forum/noviewdiscussionspermission: Difference between revisions

From MoodleDocs
(error forum noviewdiscussionspermission)
 
No edit summary
Line 1: Line 1:
{{Moodle 1.9}}
{{Moodle 1.9}}


You may experience the following error
You may experience the following error:


error/forum/noviewdiscussionspermission
error/forum/noviewdiscussionspermission
Line 11: Line 11:
If you want the 'authenticated User' Role to be capable of viewing the posts, e.g. on the Front Page, proceed as follows:
If you want the 'authenticated User' Role to be capable of viewing the posts, e.g. on the Front Page, proceed as follows:


- As an administrator, navigate to Site Administration > Front Page > Front Page roles  
- As an administrator, navigate to Site Administration > Front Page > Front Page roles
- Click on the "Override roles" link  
 
- Click on "Authenticated User"  
- Click on the "Override roles" link
- Find the Forum heading, then "View Discussions" (mod/forum:viewdiscussion capability) and tick the second radio input (Allow)  
 
- Click on "Authenticated User"
 
- Find the Forum heading, then "View Discussions" (mod/forum:viewdiscussion capability) and tick the second radio input (Allow)
 
- At the bottom, press "Save changes"  
- At the bottom, press "Save changes"  


Line 21: Line 25:
Remember that on Moodle 1.9 onwards you can also change the default Roles on the Front Page:
Remember that on Moodle 1.9 onwards you can also change the default Roles on the Front Page:


- Access Site Administration > Front Page > Front Page settings  
- Access Site Administration > Front Page > Front Page settings
 
- Set the default front page role, e.g to student or authenticated user
- Set the default front page role, e.g to student or authenticated user


Line 27: Line 32:


- Default Front Page Role: none
- Default Front Page Role: none
- Guest Role on Front Page: PREVENT mod/forum:viewdiscussion capability
- Guest Role on Front Page: PREVENT mod/forum:viewdiscussion capability
- Authenticated User on Front Page: ALLOW mod/forum:viewdiscussion capability
- Authenticated User on Front Page: ALLOW mod/forum:viewdiscussion capability


Line 34: Line 41:
See also
See also
- https://docs.moodle.org/en/mod/forum/mod#Forum_type
- https://docs.moodle.org/en/mod/forum/mod#Forum_type
- https://docs.moodle.org/en/Roles_FAQ
- https://docs.moodle.org/en/Roles_FAQ
- https://docs.moodle.org/en/Roles
- https://docs.moodle.org/en/Roles

Revision as of 09:24, 25 August 2008

Template:Moodle 1.9

You may experience the following error:

error/forum/noviewdiscussionspermission

after upgrading from previous Moodle versions or in any other circumstance in which the actual user does not have the needed permissions.

This error means that the actual user has no permissions to view the discussion/forum posts.

If you want the 'authenticated User' Role to be capable of viewing the posts, e.g. on the Front Page, proceed as follows:

- As an administrator, navigate to Site Administration > Front Page > Front Page roles

- Click on the "Override roles" link

- Click on "Authenticated User"

- Find the Forum heading, then "View Discussions" (mod/forum:viewdiscussion capability) and tick the second radio input (Allow)

- At the bottom, press "Save changes"

If you do not want anonymous users to be capable of reading your news posts on the Front Page, proceed as described and choose the Guest user and click the radio button in the third column to PREVENT (or fourth column PROHIBIT) this permission.

Remember that on Moodle 1.9 onwards you can also change the default Roles on the Front Page:

- Access Site Administration > Front Page > Front Page settings

- Set the default front page role, e.g to student or authenticated user

Be careful when combining roles and capabilities. My preference/setting is:

- Default Front Page Role: none

- Guest Role on Front Page: PREVENT mod/forum:viewdiscussion capability

- Authenticated User on Front Page: ALLOW mod/forum:viewdiscussion capability



See also - https://docs.moodle.org/en/mod/forum/mod#Forum_type

- https://docs.moodle.org/en/Roles_FAQ

- https://docs.moodle.org/en/Roles