Member
Member
kalli   2012-11-24, 16:18
#1

Hi all,
I use the Garland theme and would like to hide all users except the admins the edit boxes.
Users should delete can label their albums and pictures, but not publish, move, etc.
on which side of the check boxes for the user provided so that I can remove the instruction?

rgds
kalli

Administrator
Administrator
acrylian   2012-11-24, 16:46
#2

The theme does not matter for user things. If you haven't please read here first:
http://www.zenphoto.org/news/an-overview-of-zenphoto-users

Member
Member
kalli   2012-11-24, 17:23
#3

I've read.
It may be that I am in the wrong forum because I need information about programming.
I wanted to know which instruction is responsible for the representation of the user pages, as the name of the page is to remove the representation of all the checkboxes from the programming.

rgds
kalli

Administrator
Administrator
acrylian   2012-11-24, 17:31
#4

Maybe I don't understand what you are after then. If you don't want your users to do certain things, don't give them the rights.

Otherwise you will have to hack the backend which you naturally will lead to issues on updates.

Member
Member
kalli   2012-11-24, 17:39
#5

that's exactly what I want.
I have to make changes in the following programming:
For the user pages the "div box-edit" are hidden.
with user rights all rights are linked.
I can not, unfortunately, the user assign individual rights.
Either he can edit his own album or not.
There is no possibility to assign individual users edit rights. (Users may publish pictures or not. Users can delete images or not, etc.)

Administrator
Administrator
acrylian   2012-11-24, 18:01
#6

Well, the Zenphoto concept is that a user that has rights to an item has rights to an item.

You have hack the related admin backend file and the related admin user handling. That probably will involve changes to the authority class. I don't recommend doing this . You might run into trouble in other places and you will have to do it again every time you upgrade.

Another way would be just to hide them via CSS.

You could also submit a issue ticket on GitHub so we might consider more rights. My colleague will be able to tell more.

Member
Member
kalli   2012-11-24, 18:25
#7

Thanks for the information.

greetings
kalli

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.