Intro; What I'm Looking For; Outro

Frohner1

Joined: 2014-04-17
Posts: 12
Posted: Thu, 2014-04-17 20:20

First, hello all. Great project. Simple, but it is a bit of a learning curve.

I am unsure of the forum category I should be posting this in, it could be configuration it could be modules or it may be a request. Anyway, here we go.

I am creating a website. I have G3 set up and configured to my needs so far.

The step that I am working on now is:

I need to allow users to upload to galleries that have been created by only admin. Users must not be allowed to create galleries, but still have permission to upload. I have not yet decided if guests will see only thumbnails, or resized as well; access is denied to full size because I cannot watermark those, AFAIK. Please let me know if this can be done as well.

I could think this may be listed in another category of permissions, as well, forum organization aside; I need this function asap.

Thank you in advance.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2014-04-17 21:26

Create a user and give that user permissions to add items to the album you desire.

Quote:
Users must not be allowed to create galleries, but still have permission to upload.

The only method that I know is the http://codex.galleryproject.org/Gallery3:Modules:remove_actions module removing the add album option for the user.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Frohner1

Joined: 2014-04-17
Posts: 12
Posted: Fri, 2014-04-18 00:18

That did the trick. Thank you SO much!

 
Frohner1

Joined: 2014-04-17
Posts: 12
Posted: Fri, 2014-04-18 03:42

After working for the night, I jumped on a test user on my site to see how it looks for a member and I noticed one more issue. Users can upload to the "top level". Is there any way to force the user to select an album? I would rather not disable the button from the main page, I feel like that would lead to many emails down the road with things like "my upload button is missing".

Thank you again in advance.

P.S. the spam filter thought this post may be spam, heh.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2014-04-18 04:31
Quote:
Is there any way to force the user to select an album?

only your education can do that. Don't give permissions to the user in the album you don't want them to add item to.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Frohner1

Joined: 2014-04-17
Posts: 12
Posted: Fri, 2014-04-18 11:05

It's not that I want to revoke permissions for specific users, or albums. I want all users to be able to upload to any album. I don't want any user to have the ability to upload to the top level though. All images must be in an album. It doesn't matter if it is navigate to the album and then upload, or have a drop down menu in the upload window. Though the latter would be nice.

 
spags

Joined: 2010-03-26
Posts: 120
Posted: Fri, 2014-04-18 13:06

At the root album, try giving Everybody and Registered Users the permissions for Viewing images. Then in your top-level albums, give Everybody and Registered Users the Add (and maybe Edit) permissions.

 
Frohner1

Joined: 2014-04-17
Posts: 12
Posted: Fri, 2014-04-18 17:55

I'm going to blame this one on the 17 hour work day, and this post being near the end of it last night. That was a simple fix haha. Thank you :)