mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
97fe80ad68
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.