We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11526
    • 93 Posts
    Everything works, except for the permissions to "manage the pictures".

    Only administrators (role id 1) can see the button "manage pictures". I’ve tried to set up with &manage_webusers and &manage_webgroups but it won’t work...

    So i have a user (not a webuser) i would like to manage the albums. This user has rights to edit all the documents on my site. How can i give that user permission to edit the album?
      • 7923
      • 4,213 Posts
      Quote from: Gust at Apr 27, 2006, 05:33 PM

      Only administrators (role id 1) can see the button "manage pictures". I’ve tried to set up with &manage_webusers and &manage_webgroups but it won’t work...
      Hmm.. the parameter is &manager_webusers, note that "r". I tested it when I did this feature and it worked for me.. Just do some webuser and put it to the snippet call like &manager_webusers=`username` and when that user is logged in at frontend, he can see the manage pictures button. When webuser goes to the picture management, he can only see/edit his own pictures in that gallery. The users who are logged from backend will see all pics..

      Quote from: Gust at Apr 27, 2006, 05:33 PM

      So i have a user (not a webuser) i would like to manage the albums. This user has rights to edit all the documents on my site. How can i give that user permission to edit the album?
      I haven’t tested the picture managing with other than administrator role users, but picture management should be visible to all backend users if they have permissions to edit the document where the snippet call is. I’ll do some testing tonight, there maybe a bug.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 7923
        • 4,213 Posts
        Quote from: doze at Apr 28, 2006, 10:38 AM

        Quote from: Gust at Apr 27, 2006, 05:33 PM

        So i have a user (not a webuser) i would like to manage the albums. This user has rights to edit all the documents on my site. How can i give that user permission to edit the album?
        I haven’t tested the picture managing with other than administrator role users, but picture management should be visible to all backend users if they have permissions to edit the document where the snippet call is. I’ll do some testing tonight, there maybe a bug.
        I tested this and it works also. So if you create new role with document edit permissions, create a new modx manager user and assing the user to that role. Create usergroup and document group mappings and select the document group in the maxigallery documents access permissions. Then when the user logs in at backend, he will see the manage pictures button on those documents where he has edit permissions.


          "He can have a lollipop any time he wants to. That's what it means to be a programmer."
          • 11526
          • 93 Posts
          Ok, thnx!

          did some more testing and was able to get permissions right!

          again thnx!
            • 9649
            • 33 Posts
            Hi Gust,
            I am having this exact issue!
            Can you explain how you fixed this permissions problem?
            thanks.
              • 11526
              • 93 Posts
              Quote from: fiat154 at Apr 22, 2007, 08:30 AM

              Hi Gust,
              I am having this exact issue!
              Can you explain how you fixed this permissions problem?
              thanks.

              Hey fiat154,

              I will try to explain it as easy as possible, in a few steps:


              • First you create a "role" or "user group", with permission to run modules (eg: a user group called "PhotoAdmins")
              • Create a "doucment group" in which you place your gallery documents (the documents containing the snippet-call) (eg: a document group called "gallery"
              • Give the user group access to the document group
              • Put the snippet-call in the documents (eg: [[MaxiGallery? &manager_webgroups=`PotoAdmins`]])

              Hopefully you get it up and working with this...

              Greetings,
              Gust