About the permissions
Yarik
Joined: 2011-10-08
Posts: 11 |
![]() |
I have activated the user registaration, and when I'm doing that user can add |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Currently, no. We're considering a major improvement to permissions in 3.1, but we haven't yet decided how we're going to make it work. Dave |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
Hello - One of the things I miss most from g2 is the ability to parse out permissions by usergroup. I understand that this is supposed to be part of v3.1 which has no release date that I can see. For now, I'd like to find a workaround to be able to do one of two things: - give registered users the ability to add tags, or Is there a simple way to achieve either one of these goals? thanks, =========================== Toolkits = Exif, Gd, ImageMagick |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
Does anyone remember what the mod Dave referenced? Seems like this might be a good bandaid for what I'm wanting until 3.1 comes out. floridave wrote:
Currently, no. We're considering a major improvement to permissions in 3.1, but we haven't yet decided how we're going to make it work. =========================== Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
http://codex.gallery2.org/Gallery3:Modules:remove_add_album Dave |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
Thanks Dave. I installed it, but it doesn't quite get at what I'm looking to do right now. I see throughout the forum that 3.1 MAY have more finely tuned permissions, and that the release date for 3.1 is not set. In gallery2, I had a usergroup called "Taggers", who could only tag photos, and I realize this isn't currently possible. It was a very useful feature, and while I realize that someday, whenever 3.1 comes out, and if it has permissions like this, I may be able to do it. However, in the is there some if/else statement that could be used, either in a module or in a template that would remove the ability for registered users to be able to ONLY tag photos, and nothing else beyond the guest permissions? =========================== Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
However, in the is there some if/else statement that could be used, either in a module or in a template that would remove the ability for registered users to be able to ONLY tag photos, and nothing else beyond the guest permissions? I don't understand that question. Can you rephrase? Dave |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
Currently, if an admin is logged in, by hovering over a thumbnail on the album page, there are many options, including delete this photo, rotate this photo, edit this photo, etc. Under "edit this photo" is a line to add tags. If a registered user is logged in, none of these options are available. So somehow the code determines if a person is logged in or not, and further, determines if the logged in user is an admin or a registered user. Currently, the code determines what level a person is (admin, registered, guest), and then gives them different options). I was just guessing this was some sort of "If admin allow everything", else allow nothing) I realize that 3.1 when if comes out may do this, and in fact may again have the abilty to have a usergroup specifically for taggers like G2 had. But in the meantime, I was hoping for a workaround, that would allow me to give people the abilty to just tag. As far as I can see, the options are currently all (admin) or nothing (visitors and registered users). =========================== Toolkits = Exif, Gd, ImageMagick |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
I just put a block called "Popular Tags" in the sidebar, which has at the bottom an entry field and an "Add Tag" button, which would be perfect for my needs, if there was just a way to restrict who can tag. =========================== Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
So, if I understand correctly; you want to have a specified group "taggers" be able to add tags to items? I'm leaning to #1 as it might be a bit easier to code and would not mess with the existing core module. Dave |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
In Gallery 2, I was able to do this. Plus, when a "tagger" added a tag, they were presented with a link that allowed them to edit multiple tags in one page. That way, if there were a lot of images that needed a tag, you could do a screenful at a time. Is this the way things are intended to work in the much discussed gallery 3.1? There is mention that permissions will be enhanced, and I think saw somewhere that the tagging process would be improved. Right now, it's either one at a time, or an entire album at once. Are there any plans to slide in "multiple" between all or one? I'm just at a loss here, since I don't know a. What 3.1 will provide in terms of permissions and tags. Obviously answers to both of these questions would help in the decision as well. Do you know anything about either or both of these? Thanks, =========================== Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Quote:
What 3.1 will provide in terms of permissions and tags. I'm not sure. Quote:
When 3.1 will come out. Next month? Next year? Don't know that either. Quote:
1. A new module that adds the tag form to the sidebar _if_ the user is a member of the "taggers" group. I can assist in a module development if #1 is what you are after. Dave _____________________________________________ |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
Quote:
I can assist in a module development if #1 is what you are after. That would be great. Is there a chance that the mod would also show a screen full of thumbs and form fields so the taggers could tag a bunch at one shot, even if the images weren't consecutive, and the tags wouldn't all be the same on each page? For example, let's say these are the first 6 thumbnails on the first "multiple tag" page: 1. Aunt Thelma =========================== Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
What about the captionator module? It does tags for items in the album. Dave |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
Thanks Dave. I'll at Captionator and let you know. Seems like I had some difficulty with Captionator, but I'll look at it again and let you know. I looking for one of two solutions, either of which would work for me. One is to have a "taggers group" who can only add tags as we're discussing here, or let everyone add tags, but placed in a moderation queue for the admins to approve or delete before they were published. This would prevent a spamfest in the tags. Is one way easier to code than another? =========================== Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
I would not have a clue how to add a moderation queue. So I will see if I can copy the captionator module and edit it to only have tags and then edit it so that a special group can access it. Dave |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
Looks like captionator is the way to go. Thanks Dave =========================== Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Glad that will work out for you. Dave |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
I meant after you leave your comfort zone to copy the captionator module and edit it to only have tags and then edit it so that a special group can access it. Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Oh OK. Perhaps this weekend Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Do you want these "taggers" to be able to tag albums or just items. I think just items as it is hard to distinguish through the UI that the thumb is a album and not a item. Dave |
|
BillWill
Joined: 2008-08-28
Posts: 205 |
![]() |
Hi Dave - Just photos would be best. =========================== Toolkits = Exif, Gd, ImageMagick |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
http://codex.gallery2.org/Gallery3:Modules:tag_by_group Dave |
|
floridave
![]()
Joined: 2003-12-22
Posts: 27300 |
![]() |
Started a new thread after updating the module to have a optional menu link. Dave |
|