Project: moodle
Issue MDL-52235: Button "Add new learning plan" should not be displayed when permissions are missing 
I found out this small bug in the user list of learning plans (plans.php) : * Users with only "tool/lp:planviewown" or "tool/lp:planview", see the "Add new learning plan" button when they should not.
Story points: 1