A customer who bought the WorkControl-UserManager for use to manage users. The WorkControl-UserManager can be setup to limit access to user accounts by security roles. The customer asked for option to make the DNN built-in User Accounts page to be accessible only to Host accounts.
In this blog, I will show how to make minor modification the CORE to redirect user to "Access Denied" page if administrator accounts try to access the DNN User Account page. The steps below are for DNN 4.8. Click on image to zoom in.
| - open the Users.ascx.vb in the folder DNNRoot\admin\Users
- In the Page_Load event (starting at line 542), add block of code to check for Host permission
- If not Host permission, redirect to Access Denied page. This page is DNN built-in page.
|