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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Navigation delemia - please help with ideasNavigation delemia - please help with ideas
Previous
 
Next
New Post
7/11/2007 7:28 PM
 

Okay this is a bit of a design flaw on my part but now I need to overcome it and dont have a good idea on what way to go

I need to query part of the user profile when the user is logged in and determine if a tab should be visible or not

I was thinking I would create a new implementation of the solpart menu that would do this (so i dont have to touch the core) has anybody maybe had to do something like this ?

Other Ideas?


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
7/11/2007 8:10 PM
 

Seems like a lot of hard work for something that DNN aready handles thru roles.

Why not just create a new ROLE in the system and assign users to that role programatically as required.

Westa

 

 
New Post
7/11/2007 8:33 PM
 

yeah thats what i thought at first - here the delemia as it exists - the web site is actually a collection of apps - all were or are in classic ASP and are being moved to .NET using DNN as the application platform to handle roles and all that stuff - cool huh!

anyway while we are using the roles very extensivly it doesnt work in this instance - corporations can come in and buy access to all some or one of the applications - now roles are already being used to handle reporting and other tasks and having all the possible combinations of what products a company has for its users would be a night mare - doing it that way i counted over 50 roles would be needed

so what i thought i would do is tap the user profile to find the company a user in in then query my table of applications linked to the company table to find what applications and admin functions they should have access to - and only show those tabs/pages - now i could do it in the module but that seems like it would be worse since they would have a lot of pages (potentailly) that would just be blank

What i was thinking was a new navigation provider - i was looking at the solpart naviagtion provider and it looks like i should be able to handle this in the override bind sub of a new provider - but maybe some one could tell me if that would be the best place

 


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
7/11/2007 9:13 PM
 

You could possibly make them ALL NOT visible and create a new "applications" tab/module where you dynamically build the links to the application they have access to.

You may have a problem with security though - if a user can figure out the URL, they may be able to reach applications they are "not authorized" to.

 
New Post
7/11/2007 10:15 PM
 

yes i am aware of that and the modules that make up the applications act as a second level of this my not showing the anything but a message about buy the application

my thing is being the control freek i am i want to just go ahead and hide those tabs so it looks cleaner


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Navigation delemia - please help with ideasNavigation delemia - please help with ideas


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