Moodle

9) Show link to all logs

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.2
  • Fix Version/s: 1.9.4
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

The attached screenshot illustrates the link, which should be hidden, when the capability is not set (No. 6)

Proposed name an title for the capability:

9) Show link to all logs
moodle/user:viewalllogs

Activity

Hide
Petr Škoda (skodak) added a comment -

all reports now have fully separate caps,
please test

thanks for the report

you can view it if:
1/ course->showreports and own profile
2/ has_capability('moodle/user:viewuseractivitiesreport', $personalcontext);
3/ has_capability('coursereport/log:view', $coursecontext)

Show
Petr Škoda (skodak) added a comment - all reports now have fully separate caps, please test thanks for the report you can view it if: 1/ course->showreports and own profile 2/ has_capability('moodle/user:viewuseractivitiesreport', $personalcontext); 3/ has_capability('coursereport/log:view', $coursecontext)

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: