Announcement

#1 2012-07-13 20:13:41

rocket
Translation Team
2012-07-06
8

Permissions on albums and photos

Hi!
I'm on the way creating my gallary with piwigo. But have some troubles with permissions. I want to create albums (categories) A,B containing all photos in gallary, then i want to create several virtual smart albums vA, vB, and show some photos from A and B there (for ex. A,B -> vA). I also want grant users from group grA access to vA album only. And users from group grB have access to all virtual albums, but not real (A,B). Hope it's not very complicated...

Offline

 

#2 2012-07-14 13:07:59

rocket
Translation Team
2012-07-06
8

Re: Permissions on albums and photos

Is it a bug or not?
Clear installation 2.4.1
While uploading photos i'v created collection with name A. All photos in it have -All- permission (visible for everybody). Then i created user group with name users, and set it for viewing collection A.
I'v made smart collection, gave it public permissions, named it vA, added photos from collection A.
Then i logged to frontend as user test (who has user permissions, and no group), so i cant see "A" collection, but can see "vA" collection.
When i enter to vA collection its nothing there (though there should be 3 photos according to filter).
And the most interesting: when i go to keywords i can simply choose tags, and watch all those pics, which are in my vA smart album, but only those pics, which are in smart collection.
So what is it?

Offline

 

#3 2012-07-14 13:58:23

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6804

Re: Permissions on albums and photos

author smart albums  plugin is Away for a fews days


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#4 2012-07-19 13:47:53

flop25
Piwigo Team
2006-07-06
6965

Re: Permissions on albums and photos

as ddtddt said, the author of this extension is not available (holidays)


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#5 2012-07-22 17:12:59

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Permissions on albums and photos

I'm back but can't stay longer

same question in the french forum I think http://fr.piwigo.org/forum/viewtopic.php?id=22435

in the file plugins\SmartAlbums\main.inc.php, delete lines 24 and 25

Offline

 

#6 2012-07-23 16:51:37

rocket
Translation Team
2012-07-06
8

Re: Permissions on albums and photos

Yes, it works! thanks a lot!!!
Maybe making new release without issue would help someone else....?

Offline

 

#7 2012-07-23 17:05:17

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Permissions on albums and photos

I plan to make this configurable

Offline

 

#8 2012-07-23 17:36:37

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Permissions on albums and photos

edit: forget this, that's not the point


can you do a test for me ?

-restaure lines 24 and 25 of main.inc.php *
-delete line 19 of include/page_items.php
-is the behavior still correct ?


* these lines are

Code:

  add_event_handler('loc_end_section_init', 'smart_init_page_items');
  include_once(SMART_PATH.'include/page_items.php')

Offline

 

#9 2012-07-23 18:10:53

rocket
Translation Team
2012-07-06
8

Re: Permissions on albums and photos

--file /main.inc.php
uncommented lines 24,25
--file /include/page_items.php
commented line 19 *(isset($page['category'])) or*


seems to be fine, can see images inside smart albums, while source albums are being closed.

Offline

 

#10 2012-07-27 13:44:16

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3271

Re: Permissions on albums and photos

with version 2.0.2 uncheck "Exclude SmartAlbums from permissions management" on cnfig tab to get the wanted behavior

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact