Walter,<div><br></div><div>I do much the same thing you're proposing to do in the Sugar Commander Activity, actually more than you're proposing. I let users change all the standard metadata, resize image files, delete Journal entries, etc. If Rainbow prevents modifying metadata of Journal entries not created by or resumed by the current Activity that might be a bit too much security.</div>
<div><br></div><div>James Simmons</div><div><br><br><div class="gmail_quote">On Thu, Jan 12, 2012 at 8:48 AM, Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com">walter.bender@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have been making some changes to the Portfolio activity based on<br>
some feedback from the Pedagogy Team. (They are testing the latest bit<br>
available on git and also [1].) One of the changes that they requested<br>
was the ability to modify metadata['description'] so that the text<br>
displayed on a slide could be changed from within Portfolio. Easy<br>
enough. But what is not so easy is to save these changes to the<br>
datastore. In order to do this, I will have to make Portfolio behave<br>
more like the Journal, with the ability to write to the datastore of<br>
any object, not just its own instance. Feedback as to whether or not I<br>
should go down this path, and if so, how to ensure that I am not<br>
creating a gapping hole in Rainbow would be appreciated.<br>
<br>
regards.<br>
<br>
-walter<br>
<br>
<br>
[1] <a href="http://wiki.sugarlabs.org/images/3/3f/Portfolio-20.xo" target="_blank">http://wiki.sugarlabs.org/images/3/3f/Portfolio-20.xo</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Walter Bender<br>
Sugar Labs<br>
<a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br>
_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</font></span></blockquote></div><br></div>