Add Album and Add Items

marcap

Joined: 2007-12-06
Posts: 14
Posted: Mon, 2007-12-10 17:48

Hello
I hope I'm on the right section and sorry for my english:
I create a site where Album(s) and Sub-Album(s) are created by me.
Users can create Sub-Sub Album(s) and Add items.
How can I hide (if I can) the ADD ALBUM and ADD ITEMS when they are on the first two levels?
The problem is,even If I wrote some instructions, they don't read them and they do a big mess!

First page >>>> main ALBUM(s) I would like here to hide the options
Second page >>>> Sub-Sub Album(s) I would like here to hide the options
They get inside the Sub-Sub Album(s) and from here on the can ADD what they want.

Of course when I login as Admin I need everything visible, every page(s).
Thank you.

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 4.4.7 cgi
Webserver = Apache/2.0
Database = mysqlt 5.0.45-community-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, NetPBM, Gd
Acceleration = partial/900, partial/900
Operating system = Linux webx49.ad.aruba.it 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 26 14:30:58 EDT 2007 i686
Default theme = matrix

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2007-12-10 22:52
Quote:
How can I hide (if I can) the ADD ALBUM and ADD ITEMS when they are on the first two levels?

but you allow them to add albums? you said; "Users can create Sub-Sub Album(s) and Add items."

Each album and item can have its own permissions:
http://codex.gallery2.org/Gallery2:Quick_Start_Guide#Configure_Permissions

Yes the permissions user interface is complex. It is on the list of things to improve.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
marcap

Joined: 2007-12-06
Posts: 14
Posted: Mon, 2007-12-10 23:53

Thank you replaying. I saw that page but I think it doesn't resolve my problem.
As I create the Album and Sub-Album I don't want registered users add anything (no Album no Items)where I create.
Entering inside the Album and Sub-Album they can and adding so it will be a Sub-Sub Album with Items inside. Or even a Sub-Sub-Sub Album with Items.
I would like to block the Album and Sub-Album but on the permissions there is not this possibility.
Here is my site http://wikits.org
As you can see if you registered yourself the ADD Album and Add Items are on the left in the navigation and same thing if you click on an image and you enter in a page that shows the Sub-Album.
I wrote everywhere not to ADD things in these two pages but nobody reads!!!! And they do what they want so I thought that maybe there is a way.
In the permission settings there is (and I set for Registered users) a [core] Sub-Album or Items, I would like to know if there is a way to have a [core] sub-sub-Album and Items that blocks the permissions on the first two cases that I create.
In plus: if I gave permission [core] Sub Album/Items how come they can ADD on the first page that suppose to be only for Album/Items?
Sorry for this long post and I know that I can't ask you to register yourself in the site but maybe you will be better understand.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2007-12-11 01:59

Don't give permissions to registered users to the albums you don't want them to add albums or items.
presently you have add permissions for registered users for the root album.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
marcap

Joined: 2007-12-06
Posts: 14
Posted: Tue, 2007-12-11 17:06

Thank you.
I'm missing for sure something, I will read the instructions again !!!

 
marcap

Joined: 2007-12-06
Posts: 14
Posted: Wed, 2007-12-12 15:06

Oh Well!!!
I don't understand where I had add permissions for registrered users for the root album!!! If I enter my permission setting page and I remove the two permissions (add sub-album and add sub-items) there are no permissions at all nowhere.
Sub-Album permission what has to do with a ROOT ALBUM permission?
Sub doesn't come after the root?
If the Root Album is on the main page and they can only Sub-Album how they can create (or add) an Album on the main page?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2007-12-12 17:20

Permissions are inherited. So you need to remove permissions from the root album and then add them for the album you want them to add items.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
marcap

Joined: 2007-12-06
Posts: 14
Posted: Wed, 2007-12-12 17:55

Thank you, it works finally!!!!

So now I have:
The main page ROOT ALBUM and no way to ADD there and that's the main thing I needed, and is fine, thanks again.
The Second page with others Album
The Third page where I want them to post

Now from Admin >>> User Albums >>> "Location for new user Album" I picked up the Album from the second page and save it and gave permission to Registered Users to ADD SUB-Album and SUB-Items but in reality they can ADD even on the Second page. That means that in this case the second page has become a sort of ROOT ALBUM so get the permission too? Because if they can post in the second page it is not anymore a sub-something.
Or eveything below the main page is considered Sub?

I hope I explained pretty fine for you to understand.