خرید بک لینک

I have searched the web for this one and it looks like no one has asked this or requested this yet: how to edit permissions on the values of multiple value fields?

In other words, if an image field (for example) has multiple images (values) each uploaded by a different user, how is it possible to limit each user to edit or delete only the image they individually uploaded and not anyone else's?

Neither the field_permissions nor field_permissions_plus don't allow for this extent of functionality. I've also checked field_collection and eck to do something similar, but they don't provide it either.

Looking at the field_collection module I ran into some permission's issues which gave me a hint how a new module might be made for this by adding a hook for defining value's owner similar to this post https://www.drupal.org/node/1284016.

Maybe the UUID module might be able to help in giving the field-value an ID to be able to be linked to a user; this way there is a way to distinguish which user edited what field-value in a multiple value field.

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 5 فروردين 1395 ساعت: 12:51

صفحه بندی