6.0.0-beta1
7/5/25

[#8694] tag block doesn't respect permissions
Summary tag block doesn't respect permissions
Queue Ansel
Queue Version 1.1
Type Bug
State Not A Bug
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester michael (at) bigmichi1 (dot) de
Created 11/10/2009 (5716 days ago)
Due
Updated 12/24/2009 (5672 days ago)
Assigned 12/23/2009 (5673 days ago)
Resolved 12/23/2009 (5673 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/24/2009 02:47:32 PM Michael Rubinsky Comment #7 Reply to this comment
but when this is the expected, why doesn't see the admin the galleries?
Admins don't receive the list of *all* user galleries when listing 
them since that could potentially be hundreds or thousands of users 
depending on the installation. An admin can explicitly navigate to a 
specific gallery for purposes of maintaining the installation/dealing 
with inappropriate content etc.. and this ticket is really a side 
effect of this.
12/24/2009 06:40:28 AM michael (at) bigmichi1 (dot) de Comment #6 Reply to this comment
but when this is the expected, why doesn't see the admin the galleries?
12/23/2009 07:36:52 PM Michael Rubinsky Comment #5
State ⇒ Not A Bug
Reply to this comment
Yes, expected behavior. Admins should be able to view/edit/remove any 
user's galleries.
12/23/2009 11:40:06 AM Jan Schneider Comment #4
State ⇒ Assigned
Reply to this comment
I think this is the expected behavior?
11/27/2009 07:14:50 AM michael (at) bigmichi1 (dot) de Comment #3 Reply to this comment
the problem seem to be with the admin user, we set the gallery to 
allow only two person to have rights to see, edit, delete and modify a 
user create gallery. tag block shows now all tags for every user like 
you emntioned, clicking with a normal user results in a error that he 
is not allowed to see the picture, but when try with the admin user he 
is able to see the picture then. but the admin user doesn't see the 
galleries, is not able to search, but when clicking on a tag he gets 
access to the picture
11/10/2009 03:07:03 PM Michael Rubinsky Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
The tags themselves will show, but the images from galleries that the 
user cannot access will not show when clicking through the tag name.   
This was a design decision made since in order to remove the tag from 
the block, we would have to iterate over *every* image tagged with 
that tag and check the image's gallery permissions. This would be a 
very large performance hit.

Are you saying that you *are* seeing the images themselves? If so, how 
did you set permissions to dissallow access to the galleries?
11/10/2009 02:35:15 PM Jan Schneider Assigned to Michael Rubinsky
Taken from Michael Slusarz
 
11/10/2009 02:25:38 PM Chuck Hagenbuch Assigned to Michael Slusarz
State ⇒ Assigned
 
11/10/2009 01:49:14 PM michael (at) bigmichi1 (dot) de Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ tag block doesn't respect permissions
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
i have a user that doesn't see any galleries because he is not allowed 
to see them, but when i puts the tag block on the ansel portal page 
every tag is listed and now he is able to see all of the photos that 
have tags. that must be fixed quickly

Saved Queries