<?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>crm.atechnisch.nl &#187; authorization</title>
	<atom:link href="http://crm.atechnisch.nl/tag/authorization/feed/" rel="self" type="application/rss+xml" />
	<link>http://crm.atechnisch.nl</link>
	<description>How to improve Microsoft Dynamics CRM</description>
	<lastBuildDate>Wed, 25 Nov 2009 08:12:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Read-only fields on forms are not read-only</title>
		<link>http://crm.atechnisch.nl/2008/09/read-only-field-on-forms-are-not-read-only/</link>
		<comments>http://crm.atechnisch.nl/2008/09/read-only-field-on-forms-are-not-read-only/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 16:10:10 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[Client Side Scripting]]></category>
		<category><![CDATA[MS CRM 3.0 Application]]></category>
		<category><![CDATA[MS CRM 4.0 Application]]></category>
		<category><![CDATA[authorization]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[read-only]]></category>
		<category><![CDATA[rights]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/09/09/read-only-field-on-forms-are-not-read-only/</guid>
		<description><![CDATA[Fields in Ms Dynamics CRM cannot be set to read-only!!!
Ok, a little explanation and a demo script to show what I&#8217;m implying.
Yesterday a customer asked me to change the text in a read-only field. I&#8217;m system administrator on their system, so the easiest way should have been to change the Field Properties of the attribute, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Fields in Ms Dynamics CRM cannot be set to read-only!!!</strong><br />
Ok, a little explanation and a demo script to show what I&#8217;m implying.</p>
<p>Yesterday a customer asked me to change the text in a read-only field. I&#8217;m system administrator on their system, so the easiest way should have been to change the Field Properties of the attribute, but this would allow all users to change this attributes on all records.<br />
Another option would be to use the Enrich Functionality, described in this <a href="http://crm.atechnisch.nl/2008/08/07/enrich-data-via-data-management/" target="_blank">post</a>.</p>
<p>I tried a third option, triggering javascript via the Address Bar of Internet Explorer. The usage may be well know, but I never thought of using it to modify read-only fields on records. Well, it is surprisingly easy. All you need to know it the id of the attribute you want to modify. (The id can be found with something like the IE Developer Toolbar.)<br />
If you have the id the code is easy and you only have to copy it into the address bar of the record you want to modify:</p>
<pre class="brush: css;">
javascript:crmForm.all.new_attribute.DataValue = &quot;read-only doesn't work for me&quot;; crmForm.all.new_attribute.ForceSubmit = true; crmForm.Save();
</pre>
<p><strong>This means every user with modify rights on a record can change read-only field on that record.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/09/read-only-field-on-forms-are-not-read-only/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Minimum rights to use Set Regarding</title>
		<link>http://crm.atechnisch.nl/2008/04/minimum-rights-to-use-set-regarding/</link>
		<comments>http://crm.atechnisch.nl/2008/04/minimum-rights-to-use-set-regarding/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 08:55:46 +0000</pubDate>
		<dc:creator>Huib Aarts</dc:creator>
				<category><![CDATA[MS CRM 4.0 Application]]></category>
		<category><![CDATA[authorization]]></category>
		<category><![CDATA[rights]]></category>
		<category><![CDATA[roles]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Set Regarding]]></category>

		<guid isPermaLink="false">http://crm.atechnisch.nl/2008/04/29/minimum-rights-to-use-set-regarding/</guid>
		<description><![CDATA[When it comes to the security roles I like to use roles based on a functionality instead of based on business roles.
In most companies employees with a similar business roles are allowed to do different things in the MS CRM system. Making exceptions is hard when you use role based security roles. Functionality roles on [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><span lang="EN-US"><font face="Calibri">When it comes to the security roles I like to use roles based on a functionality instead of based on business roles.<br />
In most companies employees with a similar business roles are allowed to do different things in the MS CRM system. Making exceptions is hard when you use role based security roles. Functionality roles on the other hand can be easily combined to create the right level of authorization.<br />
A functionality based role can be, ‘Maintain Accounts’. A user with this role is allowed to read, write, append, append to, share and assign accounts on Business Unit level. Combined with ‘Maintain Contacts’ or ‘Create and Delete Account’, etc, gives a complete set of functionality.<br />
Next to these clear functionality roles a user needs in general a basic role to be able to use the MS CRM basic functionality. For example the ‘Set Regarding’ functionality to link a email to a record in MS CRM.<br />
When designing the basic use role I came across some oddities I couldn’t directly explain. Users with the basic role should be allowed to use the ‘Set Regarding’ functionality, but for some reason I couldn’t get it to work. So I created a new organization with 1 custom entity and puzzled until I found the minimum rights to use the ‘Set Regarding’ functionality.<br />
That&#8217;s when I came to the conclusion you must have read rights on Account, Contacts, Leads and Opportunities, to regard an email to a custom entity.<br />
I put the complete set of rights in the pictures below (click the pictures to see an enlargement):</font></span></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><span lang="EN-US"><font face="Calibri"><span lang="EN-US"><font face="Calibri"><a target="_blank" href="http://crm.atechnisch.nl/crm_upload/2008/04/01-core-records.gif"><img border="0" width="490" src="http://crm.atechnisch.nl/crm_upload/2008/04/01-core-records.gif" alt="Core Records" height="539" /></a></font></span></font></span></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><span lang="EN-US"><font face="Calibri"><a target="_blank" href="http://crm.atechnisch.nl/crm_upload/2008/04/02-business-management.gif"><img border="0" width="490" src="http://crm.atechnisch.nl/crm_upload/2008/04/02-business-management.gif" alt="Business Management" height="539" /></a></font></span></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><span lang="EN-US"><font face="Calibri"><a target="_blank" href="http://crm.atechnisch.nl/crm_upload/2008/04/03-customization.gif"><img border="0" width="490" src="http://crm.atechnisch.nl/crm_upload/2008/04/03-customization.gif" alt="Customization" height="539" /></a></font></span></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><span lang="EN-US"><font face="Calibri"><a target="_blank" href="http://crm.atechnisch.nl/crm_upload/2008/04/04-custom-entities.gif"><img border="0" width="490" src="http://crm.atechnisch.nl/crm_upload/2008/04/04-custom-entities.gif" alt="Custom Entities" height="539" /></a></font></span></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><span lang="EN-US"></span></p>
<p style="margin: 0cm 0cm 10pt" class="MsoNormal"><span lang="EN-US"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://crm.atechnisch.nl/2008/04/minimum-rights-to-use-set-regarding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
