HomeSoftware Heritage

feature(delagent): improve permission checking

Description

feature(delagent): improve permission checking

  • pass the variables user_id and user_perm to all functions where they are needed
  • extract the permission checks into three functions (for uploads, folders, licenses)
  • start adding the permission checks into the correct places (not done yet, not tested yet)
  • move admin_folder_delete.php to delagent/ui
  • general rewriting of the delagent

partly based on work by @shaheemazmalmmd

Details

Provenance
maximilianhuber <maximilian.huber@tngtech.com>Authored on Jan 26 2016, 8:44 PM
ardumontPushed on Feb 10 2021, 2:15 PM
Parents
rPFNc8f0837975f4: feature(ui): Added userid to folder table
Branches
Unknown
Tags
Unknown

Event Timeline