Announcement

#1 2014-09-08 19:30:37

peter_h
Member
2014-09-08
8

Pictures only show when member of a group AND user status=Admin

Hi folks,

I installed the latest version of Piwigo a few days ago and loaded my older Gallery2 based albums, plus a few new folders freshly uploaded. So far, I'm very happy - easy, beautiful and fast.

The only issue I am struggling with is user rights.  I wanted to have essentially 3 albums - one to be visible publicly without login, one album A visible to user group A, and one album B visible to user group B.

So I created groups A and B, albums A and B, and set permissions on the albums.

However, the users only see the albums according to the group permissions if I set the user status to "Administrator"!  The public album is invisible to all unless I set a group permission there too.

I have tried to find some documentation that explains how the user status, privacy level and groups interact, but couldn't find anything current - any pointers welcome.

Piwigo version: 2.6.3
PHP version: 5.3.3
MySQL version: 5.1.73

Thanks
--Peter

Offline

 

#2 2014-09-08 20:13:15

flop25
Piwigo Team
2006-07-06
6936

Re: Pictures only show when member of a group AND user status=Admin

Hello
are you sure you didn't use levels of privacy per pictures?


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

 

#3 2014-09-08 20:43:55

peter_h
Member
2014-09-08
8

Re: Pictures only show when member of a group AND user status=Admin

flop25 wrote:

are you sure you didn't use levels of privacy per pictures?

Not deliberately - could this have happened by some mistake when importing images?
How would one detect or reset this?

--Peter

Offline

 

#4 2014-09-08 21:00:35

flop25
Piwigo Team
2006-07-06
6936

Re: Pictures only show when member of a group AND user status=Admin

use the Batch manager or edit per picture


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 2014-09-09 17:02:50

peter_h
Member
2014-09-08
8

Re: Pictures only show when member of a group AND user status=Admin

I used the batch manager on all photos with action = "who can see these photos" = "everybody", is that what you meant?  It changed nothing - a user still has to be status=Administrator to see anything.

Offline

 

#6 2014-09-09 17:23:44

flop25
Piwigo Team
2006-07-06
6936

Re: Pictures only show when member of a group AND user status=Admin

yep that was that

are the albums locked?


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

 

#7 2014-09-09 17:40:46

peter_h
Member
2014-09-08
8

Re: Pictures only show when member of a group AND user status=Admin

a few of the sub-albums only.  problem?

Offline

 

#8 2014-09-10 12:32:25

peter_h
Member
2014-09-08
8

Re: Pictures only show when member of a group AND user status=Admin

I'm still stuck - is there any documentation on how the various permission settings are supposed to work, e.g. some pseudocode that explains which takes precedence?

Offline

 

#9 2014-09-10 13:12:59

flop25
Piwigo Team
2006-07-06
6936

Re: Pictures only show when member of a group AND user status=Admin

could I have a admin access?


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

 

#10 2014-09-11 12:39:05

peter_h
Member
2014-09-08
8

Re: Pictures only show when member of a group AND user status=Admin

Thanks for the offer - pls see PM
--Peter

Offline

 

#11 2014-09-11 13:25:56

flop25
Piwigo Team
2006-07-06
6936

Re: Pictures only show when member of a group AND user status=Admin

See the album "Familie / 2014 / August / 08-16 ***" Now Familie members can see it where as before no ; why ? because every single sub album containing photos is locked in Families! That's not a few That's all!


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

 

#12 2014-09-11 18:15:06

peter_h
Member
2014-09-08
8

Re: Pictures only show when member of a group AND user status=Admin

I said a few because I locked a few manually, I surely did not manually lock hundreds!
Is it possible the Menalto import script (the perl version) did this?
How does one bulk-unlock albums?

Offline

 

#13 2014-09-11 18:28:34

peter_h
Member
2014-09-08
8

Re: Pictures only show when member of a group AND user status=Admin

peter_h wrote:

How does one bulk-unlock albums?

is " update piwigo_categories set visible=true; " correct?

Offline

 

#14 2014-09-11 19:31:39

flop25
Piwigo Team
2006-07-06
6936

Re: Pictures only show when member of a group AND user status=Admin

No Go to Album Properties


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

 

Board footer

Powered by FluxBB

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