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.0IS there any limit on the No of Roles a user can Have ? DNN 4.5.2IS there any limit on the No of Roles a user can Have ? DNN 4.5.2
Previous
 
Next
New Post
12/18/2008 6:34 AM
 

Hi Don,

no, that's why I added the suggestion to replace buddy roles with user permissions, i.e. you will need an option to specify, for which objects permission shall be replicated using DNN individual user permission.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/18/2008 6:35 AM
 

Matt Christenson wrote
 

Why not store role information in the session? 

sessions are not supported in web farm scenarios and thus not used by DNN.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/18/2008 10:31 AM
 

 Sebastian,

OK, I think I see what you're saying.  Where roles were needed, we would actually assign DNN permissions at the individual level.

Two concerns come to mind regarding this approach: 

  • An infrastructure would have to be built to keep faux roles in sync with individual permissions.
  • For a large user base, would disk I/O for security related changes be overwhelming?

Thanks again for your thoughts on this,

Don

 



Don Worthley
Software Architect
Element Eleven

 
New Post
12/18/2008 11:26 AM
 

Don,

  • you would need an infrastructure to provide the option for each user to grant permission for his buddies anyway, right?
    and usually in community scenarios you cannot grant the option to view all roles in module settings by each user, nor can you create a number of roles per user, not even automatically ("0407_friends", "0407_relatives",....) - this will become unmanagable. You will need a simple interface (not module settings!), where a user can select a title, visibility regarding predefined personal roles and maybe module specific settings.
  • I haven't investigated the implementation of individual user permission yet, but usually those are easier to retrieve than those mapped using roles.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/26/2009 5:26 AM
 

Just found this thread - as I've implemented a friends system using roles... and I've hit the cookie problem.

In my case I used DNN roles because they looked like they had a convenient structure, API and UI in place... I didn't fully realise (and stil don't) what the longer term implications are.

I don't actually use the DNN roles code to validate "friend" access - I do that in my own SQL....

I could just replace my current friends system with a new one.

However, having read the thread I'm wondering if there's a simple code route around the problem...

Can I just replace DotNetNuke.HttpModules.Membership,MembershipModule with my own IHttpModule - in my case I would probably just limit the contents of the "portalroles" cookie to exclude my friends roles - definitely looks easy enough to do.

If I do this, what other performance risks am I running if I continue to use DNN roles for friends?

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0IS there any limit on the No of Roles a user can Have ? DNN 4.5.2IS there any limit on the No of Roles a user can Have ? DNN 4.5.2


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