modx maxigallery security

Is there a way to limit which web managers can upload/delete images from a maxigallery gallery?
LVL 10
Who is Participating?
victornegriConnect With a Mentor Author Commented:
Answered my own question.

Added the following:

      - added $_SESSION['userid'] = $modx->getLoginUserID();

      - added if ($_SESSION['userid']==1) { } around the area where the manage gallery button appears.
All Courses

From novice to tech pro — start learning today.