how to set Proper permission for registered user

muquam

Joined: 2011-10-17
Posts: 2
Posted: Thu, 2012-10-11 11:39

hi,

i have installed a gallery through softaculus.
i want to know how to set the following permission;

user Admin : all permission for add/edit/delete for photos/album

registered user:
1) can add album in public album
2) can add photos in public album or in their album
3) can not delete/edit photos/album of other registered users
4) can views the photos/album of other users in public album
5) can add album in private album
6) can add photos in their own album created in private album
7) can not delete/view other user album/photos

guest:
can view the photos and albums in public album only

please help me on this

thanks

Azimur

 
muquam

Joined: 2011-10-17
Posts: 2
Posted: Sat, 2012-10-20 11:53

waiting for the reply from Admin/Moderators/Members

please help.

thanks

Azimur Rahman

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Thu, 2013-08-29 14:43

Dear Sirs!

I have some doubts like "muquam".

I want to know how to set the following permission:

For registered users:

1) can not delete/edit photos/album of other registered users;
2) can add/edit photos just in their own album.

Thanks and Regards,

Tony

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Thu, 2013-08-29 14:46

More Specific:

For the registered user, only the possibility to add/edit photos of his own album...

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2013-08-29 16:37

Create a group fro each user. and a album for each group.
If the user or group has permissions to add to an album they also have permissions to remove items from that album.
perhaps the http://codex.galleryproject.org/Gallery3:Modules:remove_actions might help in your situation.
If not then you can alway use the complex but sophisticated permissions of G2.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Fri, 2013-08-30 02:26

Hi Dave!

Thanks a lot for this solution!!

I did that! and now works for my needs!

The remove_actions, works nice, with the exception of the option to remove the 'edit album' of the user, as i told you at http://codex.galleryproject.org/Gallery3:Modules:remove_actions

Thanks and Regards,

Tony

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Fri, 2013-08-30 13:20

Hi,

Is there a way to put a limitation to maximum photos for each album?

I read a lot of quotas, maximum space... but just an option to maximum number of pictures in a album exist?

Thanks and Regards,

Tony

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Fri, 2013-08-30 14:32

Dear Dave,

Man i got a problem... http://clip2net.com/s/5EXQqR

This option to "Add" gave to the user, it´s getting trouble...

If the user makes an add by this button, the picture is classified as an album, everything get mass...

I lost one album and all it information of views... :( by deleting the incorrect album...

How that i can take out this button of there?

Thanks,

Tony

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2013-08-31 15:22

Tony,
I don't understand your question. You want to remove the "Add" option? Why not just not give the user rights to add items to the album?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Sun, 2013-09-01 15:44

Hello Dave,

I want remove just the 'add' sinalized here: http://clip2net.com/s/5EXQqR , because when a user add photos from that button, get mass all galery...

If the user add photos from the menu of his album it works fine... but from that button get mass all gallery, please test this! :)

Another picture: http://clip2net.com/s/5FDkf1

Regards,

Tony

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-09-01 17:30

Don't give the user the permission to add item to the root album. Only give them permissions to add items to, in your case the "Joao Perdo Marques" album.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2013-09-01 19:38

Try http://codex.galleryproject.org/images/e/e7/Remove_actions.zip
I added a new option to remove the "Add" menu.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Mon, 2013-09-02 00:28

Hi Dave,

Sorry by my stupid action here... you were right about the root album! :)

Thanks a lot!

Regards,

Tony

floridave wrote:
Try http://codex.galleryproject.org/images/e/e7/Remove_actions.zip
I added a new option to remove the "Add" menu.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Wed, 2013-09-18 12:54

Dear Floridave, I need your help, i don´t know if the changes about remove actions (http://galleryproject.org/node/109079), made this error here.

I can´t upload new pictures, i´m admin. The button doesn´t work... here a picture (http://clip2net.com/s/5LR1ff)

I can create new albums, but i cant upload images...

Could you help me?

Thanks and Regards,

Tony

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-09-18 16:11

Disable the remove actions module to find out.
All the module does is hide the links with JQuery.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-09-18 16:13

PM me login if for me to see the behavior first hand.
What about the default wind theme?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Wed, 2013-09-18 16:30

Hi Floridave,

I sent you a private message!

Thanks,

Tony

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-09-18 19:13

Tony Franco,
Got you PM. Can you test to see if the default wind theme works first so we can determine if it is theme issue or not.
That would narrow this down. I assume that you have added the items with a different theme. I know you like this theme but lets see if it a theme issue or not first.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Wed, 2013-09-18 19:28

Hi Dave!

Thanks by your reply!

I enabled the theme wind in maintenance mode, and still the same problem..

Please take alook with your login.

Thanks,

Tony

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Wed, 2013-09-18 19:55

Hi Dave,

Passing the mouse over the button of upload pictures, the adress is: /galeriaobrasdarte/admin/movies ...

very strange... because i never upload movies... could be this? it must upload pictures...

Thanks,

Tony

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-09-18 19:59

The issue is that you are missing some file(s)
...../galeriaobrasdarte/lib/uploadify/uploadify.swf

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Wed, 2013-09-18 20:31

Hi Dave,

I found this file at an older backup and paste it to there.

It still not working.

Thanks,

Tony

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-09-18 20:49

Files don't just disappear. What you have changed to make the uploadify.swf go away? I suspect some other missing files as well.

I was able to upload a small image but you have some .htaccess or missing file(s) issue as well preventing the var/albums/ and var/thumbs from working.
The page you requested, file_proxy, could not be found.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Wed, 2013-09-18 21:06

Hello Dave,

You are always right!!! :)

My htaccess was mess... i remembered that i put a code of phpmail last week, so i get out this code and the upload comeback to work...

I´m very embarassed of this... sorry...

Thank you Very Much Dave!!!

Regards,

Tony

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2013-09-18 21:11

Glad you got it sorted.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Tony Franco

Joined: 2013-03-06
Posts: 53
Posted: Wed, 2013-09-18 21:30

Hi Dave, It was you man!! your advices!!

Thanks and Regards,

Tony