Skip to content
  • Johannes Burk's avatar
    MDL-50664 mod_data: add 'manageapproved' setting. · 97fe80ad
    Johannes Burk authored and Ryan Wyllie's avatar Ryan Wyllie committed
    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.
    97fe80ad