http://wiki.ablecommerce.com/index.php?title=Keeping_Credit_Card_Details_hidden_from_an_admin_role&feed=atom&action=historyKeeping Credit Card Details hidden from an admin role - Revision history2024-03-29T07:08:32ZRevision history for this page on the wikiMediaWiki 1.23.17http://wiki.ablecommerce.com/index.php?title=Keeping_Credit_Card_Details_hidden_from_an_admin_role&diff=604&oldid=prevMazhar: New page: You can change the permissions in the web.config file under the Admin/Payments folder. For example if you have Order Manager with the access to view the Credit Card details. Here is the we...2008-10-08T14:53:38Z<p>New page: You can change the permissions in the web.config file under the Admin/Payments folder. For example if you have Order Manager with the access to view the Credit Card details. Here is the we...</p>
<p><b>New page</b></p><div>You can change the permissions in the web.config file under the Admin/Payments folder. For example if you have Order Manager with the access to view the Credit Card details. Here is the web.config file with Order Manger in the allowed roles<br />
<br />
<code><br />
<pre><br />
<?xml version="1.0"?><br />
<!-- <br />
Note: As an alternative to hand editing this file you can use the <br />
web admin tool to configure settings for your application. Use<br />
the Website->Asp.Net Configuration option in Visual Studio.<br />
A full list of settings and comments can be found in <br />
machine.config.comments usually located in <br />
\Windows\Microsoft.Net\Framework\v2.x\Config <br />
--><br />
<configuration><br />
<system.web><br />
<authorization><br />
<allow roles="System,Admin,Jr. Admin,Manage Orders" /><br />
<deny users="*"/><br />
</authorization><br />
</system.web><br />
</configuration><br />
</pre><br />
</code><br />
<br />
You can restrict the Order Manager so that he/she can't see the credit card information as bellow by just removing the ''Manage Orders'' from the allowed roles<br />
<br />
<code><br />
<pre><br />
<?xml version="1.0"?><br />
<!-- <br />
Note: As an alternative to hand editing this file you can use the <br />
web admin tool to configure settings for your application. Use<br />
the Website->Asp.Net Configuration option in Visual Studio.<br />
A full list of settings and comments can be found in <br />
machine.config.comments usually located in <br />
\Windows\Microsoft.Net\Framework\v2.x\Config <br />
--><br />
<configuration><br />
<system.web><br />
<authorization><br />
<allow roles="System,Admin,Jr. Admin" /><br />
<deny users="*"/><br />
</authorization><br />
</system.web><br />
</configuration><br />
</pre><br />
</code><br />
<br />
==Reference==<br />
Originally posted in forums by Judy Estep http://forums.ablecommerce.com/viewtopic.php?f=42&t=8422</div>Mazhar