﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Role Based Security  / Permission to change field value / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Fri, 21 Nov 2008 14:53:58 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Permission to change field value</title><link>http://forum.strataframe.net/Topic12037-21-1.aspx</link><description>This would just require that you call the GetPermission method within your application before allowing someone to apply a 100% discount.  For example, if you have a button that allows this to happen, you could hide or disable the button or link when the form is being initialized (Load or Constructor).  You could also place this logic when the button or link is clicked and show a message if they do not have permission.&lt;/P&gt;[codesnippet]If Not SecurityBasics.CurrentUser.GetPermission("100% Discount").Action = PermissionAction.Grant Then&lt;BR&gt;        MyDiscountButton.Enabled = False&lt;BR&gt;End If[/codesnippet]</description><pubDate>Fri, 19 Oct 2007 09:23:31 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Permission to change field value</title><link>http://forum.strataframe.net/Topic12037-21-1.aspx</link><description>Hi,&lt;br&gt;I need to allow user to specify which user has permission to offer 100% discount to customer. Where could I call GetPermission() to prevent unauthorized user to specify "invalid" value?&lt;br&gt;&lt;br&gt;Thank you</description><pubDate>Wed, 17 Oct 2007 10:46:24 GMT</pubDate><dc:creator>Chan</dc:creator></item></channel></rss>