Forums / Suggestions / Attribute Level Permissions
Jani Tarvainen
Tuesday 23 November 2010 9:22:20 pm
Any chances of getting permissions to include attribute level permissions in the future?
-- http://ezpublish.fi/
Nicolas Pastorino
Tuesday 23 November 2010 11:16:44 pm
HI Jani !
Do you mean being able to restrict (read) access to not only a content class, but a set of attributes in a given content class ?
Cheers,
-- Nicolas Pastorino Director Community - eZ Member of the Community Project Board eZ Publish Community on twitter: http://twitter.com/ezcommunity t : http://twitter.com/jeanvoye G+ : http://plus.tl/jeanvoye
Wednesday 24 November 2010 3:02:39 am
Yes exactly. I'd like to set permission per an attribute (or a certain group of attributes).
I suppose this could be done with a custom module at the moment (that'd take the input, create a new draft of the published version and only update certain fields). But I'd rather have it as a core functionality.
It's been discussed before: http://share.ez.no/forums/setup-design/is-it-possible-to-edit-only-1-attribute-of-a-contentobject
Wednesday 24 November 2010 7:24:33 am
I see the point. A workaround could be to use custom edit templates, showing only the authorized attributes for the current user (requires a custom module with functions and limitations on those, checked against when displaying the template through a custom operator), and maybe double check on this all with a custom edit handler in the back-end ?
Also, coupling this with the concept of 'Category' (per attribute in the class edition interface, one can choose a 'category' since 4.3 iirc) could improve usability fo rth eones configuring access control.
Have you spotted any related issue/request for enhancement there : http://issue.ez.no/ezpublish ? If not, filing one would be nice :)
Cheers !
André R.
Thursday 25 November 2010 5:31:21 am
There is an issue on this, I think also with patch from Kristoff.
But as you say if we do put this on the roadmap then it would make sense to tie it up to the attribute groups instead of every singel attribute.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Thursday 25 November 2010 6:15:35 am
Would you by chance have the link to this issue ?