mirror of
https://github.com/moodle/moodle.git
synced 2025-03-17 22:20:00 +01:00
New function data_user_can_manage_entry checks whether a user is allowed to manage an entry. Considering manageentries capability, data_in_readonly_period() result, ownership (determined by data_isowner()), approval and manageapproved setting.