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 ...DNN Role Groups and Roles (which one should I use)?DNN Role Groups and Roles (which one should I use)?
Previous
 
Next
New Post
11/25/2008 11:18 PM
 

Is there a module that helps with the utilization of role groups? I do not need a lot of control. But, it would be nice to be able to control modules by role groups instead of selecting multiple roles to access the same module feature.

For example : Talent = models, dancers, DJs, Actors, etc. . I may have as many as 20-30 talent types! This could make module implimentation very tedious. If I could just select "Talent" and it represents all 30...well you can see how handy a module or feature that would be.

 
New Post
11/26/2008 1:02 PM
 

Rod Weir wrote
Hey Mamlin,  just wanted to say that this is probably the most complete and well thought out answer to a question that I've seen to an internet discussion post in years......and I read a lot of discussion forums.

Well done and please keep sharing your knowledge of DNN with us.

Best regards, Rod

Oh, hey -- I had to QUOTE that just to see it twice on the same page. :) 

Thanks, Rod!  I'm more often accused of being too complete (as in TMI = boring).


coolvibe-
I think the core would have to be updated to administer permissions the way you mentioned (which I think would be a nice improvement) from within a module's standard SETTINGS->PERMISSIONS interface.  A third-party module could remotely admin permissions this way but I think most admins would want to be able to do it directly from each module's SETTINGS interface.

Sounds like a good candidtate to add to the "Enhancement" request list:  http://support.dotnetnuke.com/project/Project.aspx?PROJID=23

-mamlin

 


esmamlin atxgeek.me
 
New Post
7/30/2009 11:56 AM
 

About his, in a module that i'm doing I need to give acess only to user in a certain Rolegroup.
how can I do that?

The button must be hide for other users, but the module need to be show anyway

 
New Post
7/30/2009 5:17 PM
 

Rafael Cardoso wrote
About his, in a module that i'm doing I need to give acess only to user in a certain Rolegroup.
how can I do that?

The button must be hide for other users, but the module need to be show anyway

You'll either need to use your own custom SQL query or else use a couple of existing DNN queries.  One set of existing queries that would work is "GetRolesByGroup" plus "GetRolesByUser".  If any role appears in both sets of results then the specified user is a member of the specified group.
 
A custom query would probably be more efficient as it could be performed with a single call to the DB.  You'd want to write a "IsUserInGroup" stored procedure similar to the existing "IsUserInRole" stored procedure.
 
Hope that helps-
-mamlin
 
 


esmamlin atxgeek.me
 
New Post
7/31/2009 5:20 AM
 

I never had used store procedure, because I don't have much experience, neither I never need it, because I used almost time sql code in the aspx.cs file.
but by the names I think that the option "IsUserInGroup" is the right choise, but how can I make it?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNN Role Groups and Roles (which one should I use)?DNN Role Groups and Roles (which one should I use)?


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