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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Integrating New Portal Functions Into Existing DNN SiteIntegrating New Portal Functions Into Existing DNN Site
Previous
 
Next
New Post
5/17/2011 7:23 AM
 
Hi folks, I'm new to DNN and have been charged with writing a new customer portal.  Our existing site runs on DNN so I thought DNN would be a good first port-of-call to review for the development of the new system, but I was wondering if I could clarify a few points that are fairly crucial:-

We have existing users registered on our DNN site and ideally we would want use these registrations to access the new customer portal so we have a single point of sign-on for access to the various functions within our site (we currently have restricted pages that only authenticated users can access).  Only certain of those users should be able to access to customer portal functions, so I was thinking I could/should use a new set of roles to control access to the new pages, as this hooks into the DNN security model and would be easily entensible as we add more functionality.  However, we would want the administration of this new role to be managed by the other departments, but obviously we wouldn't want them to have general administration rights over either the users or the site content, nor for different departments to be able to change each others settings - for example, general access to the portal would be enabled by sales, but only accounts should be able to allow specific users into the accouting reports we would publish.  Can I set up users with administration rights to specific roles?

I'm looking to create a bunch of screens to initially include order search and detail, finance reports, product search and request that need to integrate into existing databases so I was thinking I would need to create these new functions as modules, correct?

As this is hooking into various existing databases, we need to set up underlying sets of data filters, by user, to control what each user can see - for example they should only be able to view orders for accounts that they have been assigned to.  To control this I was proposing to have tables in our production database with the DNN user unique id and then the various parameters that would be applied to that user.  The data retrieval stored procedures would then require the UID to be passed in and then would and say, for example, something along the lines of
SELECT * FROM Orders WHERE EXISTS (SELECT * FROM UserOrderFilters WHERE UserOrderFilters.UserUID = @uid AND UserOrderFilters.AllowedAccount = Orders.AccountNumber) AND .... <user selection parameters here>
so that we restrict the base data the customer portal users can see (and if they haven't been set up with anything, they won't see any data at all) - but obviously this then needs a module to administer this (again, this would be separated in sales, accounts, etc) - could I pull up a list of all the site users within such a module being used by a non-adminstrator account for validation purposes or would this, again, require DNN site admin-level access?

If there's anything that need clarifying, please let me know - I appreciate this is fairly complex

Cheers
MH
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Integrating New Portal Functions Into Existing DNN SiteIntegrating New Portal Functions Into Existing DNN Site


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