Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Create User ManagerCreate User Manager
Previous
 
Next
New Post
9/10/2009 9:20 AM
 

I need to give a user permission to manage roles and users however I don't want to give this user administrator permission to the whole site.  How is this done?

 
New Post
9/10/2009 12:12 PM
 

I am sure there are multiple ways to do this and my way probably isn't the best, but here is what I did:

Create the new manager role

Create a new page and set permissions so that only new manager role has access

Open table 'DesktopModules' in the database, find 'User Accounts' in the 'Friendly Name' clumn, set IsAdmin field to 'False'

Refresh the new page, and the User Accounts module is now available in the list of modules to add to the page, so add it.

Return to the db table and set the field back to true.

Now the issue is that the control panel at the top of the page displays, which is undesirable, but If you want them to be able to add a new user, you need to edit admin\ControlPanel\IconBar.ascx.vb, in the Page_Load, I added the following to the if block that satrts with If objLoggedIn.IsSuperUser Then :ElseIf PortalSecurity.IsInRole("CustomRole") Then

lblVisibility.Visible =

False

cmdVisibility.Visible =

False

rowControlPanel.Visible =

False

 

Good Luck

 

If

Now they can add users but the 'edit' btton needs to be selected in the control panel

 If they don't need to be able to add users, hide the whole panel

 

 

 

End
 

 

 
New Post
9/18/2009 2:18 PM
 

THis worked.  Thank you Frank.

However what I really needed was to allow users to manage roles not users...my bad.   So I used your tecnique to add the Security Roles module to the users page after I had already added the Manage Users module.  Now I have two modules on the page and I'd like to get rid of the Manage Users one and there is no Delete on the Content Menu.  I've looked at the TabModules table and sorted by the tabId of the page in question.  I can see all the modules in the content pane but I'm not sure of how to locate the Manage Users module nor am I sure of what I'm doing.  I don't want to delete a record from the TabModules table and then start getting errors.  Can you describe how to delete the Manage Users module after inserting it on a page?

Thanks much

-D

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Create User ManagerCreate User Manager


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out