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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...User ManagementUser Management
Previous
 
Next
New Post
11/5/2009 12:40 PM
 

I have a client that needs a specific user management scheme. Users will self register and select the office they work from. Then a user manager from that office would receive an email that their has been a registration, and review, approve or decline. The usermanager would only be able to review users for their office. The user manager would not be an Admin.

The thought that comes to mind is to pull over all the User Management functions into a new module and set it up for role based access other than in the admin area. The one thing I have not figured out yet is how to determine who gets the email based on the office the user selected. Any ideas?

 
New Post
11/5/2009 10:14 PM
 

Probably not realistic with the current registration/profile module. Try looking at datasprings registration module or formMaster to create a custom registration form. I know with the module from DataSprings you can fire off events (emails) based on a selection. After that you could either create a custom module to do the account approval, or perhaps copy the Users module to a new page and give admin rights to that page (only) for the office managers. 

 
New Post
11/6/2009 11:22 AM
 

You're right on making the new module.  It's pretty easy to set up if you're familiar with .net, I did a similar thing for my company's site.  You can make your own login module (or modify the existing one which I would not recommend).  An if or case statement could be used to email the appropriate person.

If office1 then email manager1

else if office 2 then manager 2 etc.

On my setup I made a function to GetAdmin which will get the admin for the corresponding office.  Once getting the UserInfo object you can pull the email and send it that way.

 
New Post
11/6/2009 5:30 PM
 

I was aware of some of the User Management Modules that are out there, however I am also looking at serious getting back into module dev since I have been out of it since the 3.x days of DNN. I think we are going to have to go with admin roles for each office anyway to give content updates on certain pages for each office. So in theory I can use the GetAdmin function to get the person in the role for each office although I have not looked indepth into that path.

 

 
New Post
11/8/2009 9:21 AM
 

I would use the security roles builtin to DNNand simply add a role for each office. Then add a simple page that accepts the user id, role id and a simple pass key as parameters.

http://www.company.com?userid=123;roleid=456;key=789

Then you can email the link to the manager, if they ignore the email nothing happens, if they click on the link, the user is added to the role.


Dwayne J. Baldwin
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...User ManagementUser Management


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