FMCorz / moodle-block_xp

A gamification plugin for Moodle allowing students to gain experience points and level up.
https://levelup.plus/?ref=github
150 stars 41 forks source link

Permission to earn points cannot be overridden at other levels than system #78

Closed FMCorz closed 6 years ago

FMCorz commented 6 years ago

This makes it very hard to override the permissions.

Workaround for enabling permissions for a specific role only.

1/ Go to Site administration > Users > Define roles 2/ Edit the role "Student" 3/ Look for the permission "block/xp:earnxp" and untick "Allow", and save. 4/ Go back to Site administration > Users > Define roles, and click "Add a new role" 5/ Select "Use role or archetype": "No role", and continue 6/ Use the following values:

Then assign the role to the relevant users, in the relevant contexts.