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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Role Limits & AS Group assignment via RolesRole Limits & AS Group assignment via Roles
Previous
 
Next
New Post
9/9/2011 11:03 AM
 
Chris,
As an alternative you could consider writing a roles subscription solution (or partnering with one) that implements the Active Social API. That would allow you to easily add users who purchased roles into a group (connect the role to the group in a table).

GroupsAPI ug = new GroupsAPI();
ug.JoinGroup(PortalId, UserId, GroupID, true, true);

Then a SQL Server or DNN scheduled task could handle group removal for expired roles.

This said, I understand the limitations in roles and why Active Social can't rely on it for group membership but in cases when membership in a role drives access decisions to resources on a site it would make sense to include both ways in upcoming releases. Then let admins know about the role limitation but not prevent them from choosing an implementation that best meets their needs.


Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
9/9/2011 11:44 AM
 
Thanks Gents,

Is there anyway I can avoid updating the SQL/scheduler proc for every new group/role association? This would be doable for a single, hands on solution. However this is not practical when you have 100 clients 'in the wild" who don't know what a "proc" is. Each client has their own separate roles names, configuration, etc. and, if we can make this work, AS group setup.

Any ideas on how to handle this with an easy to use solution? Something simple that the client can do themselves, like the Active Forum role checkbox pick lists?

Could the DNN AS group provide this kind of 'helper' UI for my kind of use case scenario (with the caveat that we don't have a large number or roles)? Until all the different third party tools that can be used to grant/sell roles support the new user grouping mechanism that Will is working on, I don't see any way to get away from providing some kind of role support. I know that I am not alone.

> a roles subscription solution (or partnering with one)
any suggestions?

Chris



Chris Wylie
Chief Executive Officer
www.AccordLMS.com
1775 W. State Street Suite 371, Boise ID 83702 USA
 
 
New Post
9/9/2011 5:08 PM
 
Ventrian has one and it includes source. Scott is also very reasonable if you want to "sponsor" an enhancement to his modules. He's also done a number of Active Social integrations with many of his more popular modules. www.ventrian.com


Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
9/9/2011 5:21 PM
 
For what little it is worth, I have a solution to this issue but a minor IP issue that is preventing my releasing it as an open-source solution.  I will look to see if I can't do something to get it released.

Brandon

Brandon Haynes
BrandonHaynes.org
 
New Post
9/9/2011 6:29 PM
 
Hi,

Thank you very much for the input.

@Steven - I understand now what you mean by Role Subscription Solution and I understand how this can work - probably by hard coding some kind of completion event that signs a user into the AS User/Group link list. This works for a one off site, but as I mentioned before: "this is not practical when you have 100 clients 'in the wild" who don't know what a "proc" is. Each client has their own separate roles names, configuration, etc. and, if we can make this work, AS group setup. " In addition who know how many third party modules, or custom solutions exist for assigning roles that they are using.

@Brandon - when you say you have "a solution to this issue", do you mean a) the ability to assign AS Groups directly via Roles or b) the ability to have hundreds of Roles in DNN or c) another Role Subscription solution?

@Will - even if "Using a role to simply identify a user as being part of a social group certainly is convenient, but that doesn't mean it is the best or even intended purpose", the fact is this is how the rest of the world is using roles AND other enterprise class portal frameworks can support hundreds of roles for just this reason. It would be great if the non-role solution you are working on could fix this, but if it's of no use in my >>very straight forward<< requirement, I have no doubt that other needs will go unmet as well.

@Cathal - Will and I are both working on Enterprise applications and we're having to come up with non-standard hacks to work around DNN's inability to handle large amounts of roles. If DNN wants to attract more enterprise clients, like Government of Quebec (who bought a Pro license) or Brother International, you might want to give handling large role counts some priority.

Thanks,
Chris



Chris Wylie
Chief Executive Officer
www.AccordLMS.com
1775 W. State Street Suite 371, Boise ID 83702 USA
 
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Role Limits & AS Group assignment via RolesRole Limits & AS Group assignment via Roles


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