<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Danny Thorpe &#187; permissions</title>
	<atom:link href="http://dannythorpe.com/tag/permissions/feed/" rel="self" type="application/rss+xml" />
	<link>http://dannythorpe.com</link>
	<description>Dream &#38; Deliver</description>
	<lastBuildDate>Wed, 04 Jan 2012 21:20:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fixing Default Permissions in Mesh Apps Created With Live Framework Tools for Microsoft Visual Studio</title>
		<link>http://dannythorpe.com/2008/11/04/fixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio/</link>
		<comments>http://dannythorpe.com/2008/11/04/fixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 18:03:02 +0000</pubDate>
		<dc:creator>Danny Thorpe</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[contacts]]></category>
		<category><![CDATA[Live Framework Tools]]></category>
		<category><![CDATA[Mesh]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[workarounds]]></category>

		<guid isPermaLink="false">http://dannythorpe.com/2008/11/04/fixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio/</guid>
		<description><![CDATA[We&#8217;ve discovered a bug in how the Live Framework Tools for Microsoft Visual Studio (&#8220;VS tools&#8221;) set permission values for Live Mesh-enabled web apps uploaded using the VS tools.  This results in your mesh app running with fewer permissions than the intended default permission set, which will prevent your app from modifying mesh feeds for contacts or news. <a href='http://dannythorpe.com/2008/11/04/fixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve discovered a bug in how the Live Framework Tools for Microsoft Visual Studio (&#8220;VS tools&#8221;) set permission values for Live Mesh-enabled web apps uploaded using the VS tools.  This results in your mesh app running with fewer permissions than the intended default permission set, which will prevent your app from modifying mesh feeds for contacts or news.</p>
<p>You can fix the default permissions on your app after you perform the first upload steps in VS and the dev portal.</p>
<ol>
<li>Perform the first-time app upload steps in VS to upload the zip to the dev portal and set the app self link in the VS project.</li>
<li>In VS, press F5 again to verify that your mesh app starts up in Live Desktop in the browser, under VS debugger control.</li>
<li>Close the Live Desktop browser to end the debug session.</li>
<li>Open a new browser window and log into Live Desktop (<a href="http://developer-ctp.mesh.com/"><font color="#0072bc">http://developer-ctp.mesh.com</font></a>) </li>
<li>Select the Apps page. </li>
<li>Find your mesh app in the list of installed mesh apps.  Click on the name of your mesh app instance to view its details page.</li>
</ol>
<p>The permissions listed on the details page will look like this:</p>
<blockquote><p><strong>Permissions</strong><br />
Read access to my Live Mesh object<br />
Read access to my Windows Live Contacts<br />
Read access to my Live Mesh User News</p></blockquote>
<p>To adjust the permissions to the correct default values, click on the &#8220;Edit&#8221; link in the top right corner of the panel.</p>
<p>An &#8220;Access Permission&#8221; page will be displayed.  Click Cancel to return to the app instance list. </p>
<p>Click on the app instance link in the installed applications list to view the app&#8217;s details page again.</p>
<p>The app permissions should now look like this:</p>
<blockquote><p><strong>Permissions</strong><br />
Read access to my Windows Live Profiles<br />
Read access to my Live Mesh Devices<br />
Read and update access to my Windows Live Contacts<br />
Full access to my Live Mesh User News</p></blockquote>
<p>Your mesh app can now write to its contacts and news feeds.</p>
<p>This permissions adjustment only needs to be done <strong>once</strong> after the VS tools have uploaded the app for the first time.  Subsequent edits &amp; updates by VS will not change the permissions.</p>
<p>This default permissions bug will be fixed in the next update of the VS tools.</p>
<p> Originally posted in the <a href="http://social.msdn.microsoft.com/Forums/en-US/liveframework/thread/695f4201-7ab3-4942-bf45-b929f75f2237">Live Framework discussion forum</a></p>
<div style="text-align:center;width:100%;"><div style="margin:0px 0px 0px 0px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-0861479594738165";
/* End of Post */
google_ad_slot = "6510912161";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></div><p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;counturl=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;count=none&amp;text=Fixing%20Default%20Permissions%20in%20Mesh%20Apps%20Created%20With%20Live%20Framework%20Tools%20for%20Microsoft%20Visual%20Studio" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;counturl=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;count=none&amp;text=Fixing%20Default%20Permissions%20in%20Mesh%20Apps%20Created%20With%20Live%20Framework%20Tools%20for%20Microsoft%20Visual%20Studio" scrolling="no" style="border:none;overflow:hidden;width:55px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;size=medium&amp;count=false" scrolling="no" style="border:none;overflow:hidden;width:32px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fdannythorpe.com%2F2008%2F11%2F04%2Ffixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio%2F&amp;title=Fixing%20Default%20Permissions%20in%20Mesh%20Apps%20Created%20With%20Live%20Framework%20Tools%20for%20Microsoft%20Visual%20Studio" id="wpa2a_4">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://dannythorpe.com/2008/11/04/fixing-default-permissions-in-apps-created-with-live-framework-tools-for-microsoft-visual-studio/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  dannythorpe.com/tag/permissions/feed/ ) in 0.34278 seconds, on Feb 7th, 2012 at 11:52 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 7th, 2012 at 12:52 pm UTC -->
