Moodle

Forums and Roles problem at Site Level

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not a bug
  • Affects Version/s: 1.7, 1.7.1
  • Fix Version/s: None
  • Component/s: Forum
  • Labels:
    None
  • Environment:
    Ubuntu 6.06LTS, Intel Xenox
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_17_STABLE

Description

I created a forum on the Main Menu at Site Level and changed the Forum Roles via the Guest Override Roles to prohibit every activity in the forum from any user with guest role. I have set the defaultuserroleid = guest so all users at site level are assigned the guest role.

But every user can still post, read and get subscribed to this forum. ;-( If I explicitly add the user to the guest role in this forum context everything works right.

Activity

Hide
Vy-Shane Sin Fat added a comment -

The defaultuserroleid capabilities will only come into play if the user does not have any permission set for a particular capability. Therefore, if a user has another role at site level, the other role's permission will apply, and not the defaultuserroleid.

Assigning the guest role as the defaultuserroleid is not the same as explicitly assigning the guest role to a user.

Description for the defaultuserroleid:

"All logged in users will be given the capabilities of the role you specify here, at the site level, in ADDITION to any other roles they may have been given. The default is the Guest role. Note that this will not conflict with other roles they have, it just ensures that all users can do something useful at the site level (eg read forum discussions, resources, etc)."

Show
Vy-Shane Sin Fat added a comment - The defaultuserroleid capabilities will only come into play if the user does not have any permission set for a particular capability. Therefore, if a user has another role at site level, the other role's permission will apply, and not the defaultuserroleid. Assigning the guest role as the defaultuserroleid is not the same as explicitly assigning the guest role to a user. Description for the defaultuserroleid: "All logged in users will be given the capabilities of the role you specify here, at the site level, in ADDITION to any other roles they may have been given. The default is the Guest role. Note that this will not conflict with other roles they have, it just ensures that all users can do something useful at the site level (eg read forum discussions, resources, etc)."

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: