#1 2011-04-05 06:47:24

anthony43
Member
http://blog.dahanne.net
2010-08-24
25

web API : can not create a category

hello,
I have a user,(a webmaster) and I can not find a way to allow him write access to a category I created, through the web API
I created a new private category, and I gave access to my webmaster.
now if the webmaster can add a sub category to this category, using the web interface, via the web API it is impossible; I have this error response,
<?xml version="1.0"?><rsp stat="fail">    <err code="401" msg="Access denied" /></rsp>
I am using jiwigo as a client for the web api.
you can try and reproduce this behavior , my gallery is :
http://piwigo.dahanne.net/

my user : ************************

the category I am accessing is RegalAndroidSecretAlbum

thanks

Last edited by ddtddt (2011-04-05 07:10:02)

Offline

 

#2 2011-04-05 06:53:52

anthony43
Member
http://blog.dahanne.net
2010-08-24
25

Re: web API : can not create a category

hum, well not exactly.
it did create the category , but by default, it is not visible by anyone, I have to go to the web interface to allow some users (including the creator of the category) to access it
thanks

Offline

 

#3 2011-04-05 07:11:58

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

Re: web API : can not create a category

Is that it uses a level of confidenciality adding photos?

What is your host?

Is it working for another host?


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 2011-04-05 09:01:15

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13936

Re: web API : can not create a category

To sum up: you can create a sub-album to a private album BUT this sub-album is automatically private and the creator has no access to it.

We're going to fix that bug : at least the creator automatically gets permission to the sub-album.

Offline

 

#5 2011-04-05 14:41:54

anthony43
Member
http://blog.dahanne.net
2010-08-24
25

Re: web API : can not create a category

that s right plg : the user creating the category, should automatically have his group or user added to the groups, or users  being authorized to access, this category
thanks

Offline

 

#6 2011-04-24 00:13:07

anthony43
Member
http://blog.dahanne.net
2010-08-24
25

Re: web API : can not create a category

hello plg,
do you have a bugtracker with a bug number, for me to follow this issue (the author of a gallery can not access it )
also, would it be possible to enable by default the addSimple piwigo extension ?
thank you !
Anthony

Offline

 

#7 2011-06-16 21:24:01

Vlad
Guest

Re: web API : can not create a category

plg wrote:

We're going to fix that bug : at least the creator automatically gets permission to the sub-album.

Any news on that? Thanks.

 

#8 2011-06-16 21:26:36

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13936

Re: web API : can not create a category

Vlad wrote:

plg wrote:

We're going to fix that bug : at least the creator automatically gets permission to the sub-album.

Any news on that? Thanks.

I plan to fix it for Piwigo 2.2.4, follow [Bugtracker] ticket 2245

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact