ADXSTUDIO Web Permissions

by Dan Matthews 3. July 2007 10:23

I've found a little glitch (by design?) in ADXSTUDIO 2006. The scenario is this... I want to give an 'Approvers' group access to approve across the whole site except for a 'Sensitive' folder, that can only be approved my managers.

According to ADXSTUDIO, the way to do this is to explicitly GIVE permissions to the Approvers group everywhere except where I don't want them to have permissions. Yeah right. It's a big site :)

You might think 'no probs, I'll just DENY them access to that one folder'. Nice, in theory... but in practive it spams out a nasty error when you try to do that. I guess it can't handle deny-access being added to an object with grant-access set on it as well (albeit inherited).

Solution? Resort to ADSIEdit. Locate the Sensitive folder within the AD object hierarchy (no, not easy) and take off the inheritance of permissions. I suggest copying the existing permissions otherwise you'll have fun adding them all in. Then just strip everything but read permissions away from the Approvers group.

Now, when someone in the Approvers group tries to edit pages in the Sensitive folder, they get an Access Denied error. In the rest of the site, they are able to edit pages.

Tags:

.NET/C# | ADXSTUDIO

Comments

8/3/2007 4:42:22 PM #

You can accomplish the same task using the Web Permissions editor included in the ADXSTUDIO CMS product.  You don't have to use ADSI Edit.  The design you speak of is Active Directory-based and is not an ADXSTUDIO design.  It is inherent in all Microsoft ACL implementations.  Deny permissions should be avoided because a deny ACL will trump a grant and unless you are extra careful, it is easy to deny yourself access to an object and make it difficult to restore your permissions.  All scenarios that could use deny permissions can be implemented with grant permissions and careful planning.  ADXSTUDIO shouldn't throw a nasty error though if you use deny permissions - a small bug.

Shan McArthur |

Powered by BlogEngine.NET 1.5.0.7
Theme by Interakting

Interakting

A full service digital agency offering online strategy, design and usability, systems integration and online marketing services that deliver real business benefits and ensure your online objectives are met.

Calendar

<<  July 2010  >>
MoTuWeThFrSaSu
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

View posts in large calendar