Moodle

Profile link in Administration block for students

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not a bug
  • Affects Version/s: 1.9, 1.9.1
  • Fix Version/s: None
  • Component/s: Blocks, Roles / Access
  • Labels:
    None
  • Environment:
    any
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE

Description

A profile link now appears in the administration block for students. This means that the admin block is always visible to students even if the activity and grades settings in course settings are set to No.

In addition this settings does not respect roles either in when it is visible or possible actions when clicked. See discussion here:
http://moodle.org/mod/forum/discuss.php?d=97125

Suggested actions:

Revisit so that this option only appears when students may view their own profile.
Make it respect roles.
Provide an option in course settings to switch on or off (like grades/activy).

One further thought, if this change is retained, would this be better situated in the Participants block?

Issue Links

Activity

Hide
Helen Foster added a comment -

Reassigning to roles expert Petr

Show
Helen Foster added a comment - Reassigning to roles expert Petr
Hide
Helen Foster added a comment -

Please see MDL-11382 for how a profile link came to be added to the administration block.

Show
Helen Foster added a comment - Please see MDL-11382 for how a profile link came to be added to the administration block.
Hide
Ray Lawrence added a comment - - edited

OK, just took a trip down memory lane.

So my only issue now is it not (seemingly, others report otherwise) respecting roles. (I tried the relevant capability in the Authenticated user role).

Show
Ray Lawrence added a comment - - edited OK, just took a trip down memory lane. So my only issue now is it not (seemingly, others report otherwise) respecting roles. (I tried the relevant capability in the Authenticated user role).
Hide
Petr Škoda (skodak) added a comment -

Hello,
the role overriding is very fragile in 1.9.x because overrides in different roles and context levels are evaluated in an unexpected way - this is finally fixed in 2.0. The blocks and navigation are significantly changed in 2.0 too.

In 1.9 you may need to override Guest, Student and Authenticated user roles, unfortunately it might affect users that have multiple roles.

Thank you for the report. Closing, no changes in roles or blocks are planned in 1.9.x branch, sorry.

Petr Skoda

Show
Petr Škoda (skodak) added a comment - Hello, the role overriding is very fragile in 1.9.x because overrides in different roles and context levels are evaluated in an unexpected way - this is finally fixed in 2.0. The blocks and navigation are significantly changed in 2.0 too. In 1.9 you may need to override Guest, Student and Authenticated user roles, unfortunately it might affect users that have multiple roles. Thank you for the report. Closing, no changes in roles or blocks are planned in 1.9.x branch, sorry. Petr Skoda

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: