179 Posts
carin
8 years ago
3
Topic

I have an article content type with an image gallery where the articles are owned by the site admin. I want registered users in the frontend to be able to upload images to the article gallery. But they are not allowed to edit other fields of the article or alter images that are already in that gallery. How do I need to set up the article and the image upload field to accomplish that?

Get a VIP membership
4229 Posts
Kadministrator
8 years ago
0
Level 1

What you are looking for are permissions on the field level - but, there is no add permission on that level, only edit. You will need to allow edit on the item to admins and users groups. Then on the field level you can use ACL plugin to allow edit on most fields only to admins group and also allow edit of gallery to users group too. But this will give any member of the user group an ability to edit add/remove all images in the image upload field.

If this is not good enough you will need to create parent-child relationship - create gallery content type with upload field that only alows single upload and a text field where you will store parent article id,. This content type that will have add permisison for users group. You can include it in the article using list field (you will need gallery search type for this, so that it will search only items that are related to this article)

179 Posts
carin
8 years ago
1
Level 1

I will have to create that parent-child relationship. Not sure though what you mean by "You can include it in the article using list field". I cant find the "list field", what is that?

As a side note: The quality of the seblod support sky rocketed when you jumped in on a regular basis. Thank you! Now I really enjoy using seblod.

4229 Posts
Kadministrator
8 years ago
0
Level 2

Hi,

thank you :)

list field is a part of https://www.seblod.com/store/extensions/8538

Probably you could also use module plugin plus list module.

Get a VIP membership