Not sure I understand what you are trying to do. Do you want to set field as read-only when it's imported? Or do you want definition of the field to be read only for all except superuser?
Most common field definitions extend from ConfiguredFieldDefinition which reads values only from repo and doesn't support any dynamic behaviour, but nothing stops you from extending it or coming up with your own definition that would do whatever you need to be done. To set such definition to be used it should be enough to just set it via class= on the definition node. -- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=a94d6db2-77d4-40df-a09f-cb0c06205f70 ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
