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...Performance and...Performance and...Permission roles very slowlyPermission roles very slowly
Previous
 
Next
New Post
1/31/2011 10:15 AM
 
Good morning
I've a portal created with DNN 05.05.01; i've need to manage 216 permission for the different operation (insert, update, view, ecc...)
I've used a ModulePermission for to create a custom roles permissions, using the similar sintax

Dim pc As New PermissionController
Dim p As New PermissionInfo
p.ModuleDefID = ModuleDefId
p.PermissionCode = "MODULENAME"
p.PermissionKey = "KEY"
p.PermissionName = "DESCRIPTION"
pc.AddPermission(p)

But this solution it's very very slow in execution, I wait even longer than 30 minutes.

Is there a better solution to propose?

Thank you
Best regards
Marco

 
New Post
1/31/2011 4:48 PM
 
there seem to be a problem either with your database or your code, which only returns after a timeout. Compare with Form and List, which implements custom permissions as well.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/31/2011 6:43 PM
 
There are several modules in our Forge which should provide good examples of implementing the functionality that you are trying to do, including the one Sebastian mentioned.  Here are a links to a couple of projects that contain code you can look at:

Form and List: http://dnnfnl.codeplex.com/
Forum: http://dnnforum.codeplex.com/

Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
2/1/2011 10:36 AM
 
It can not be a code problem, because the pages are those of DNN, not even the db for the same reason, I limit myself to use the PermissionController, after defining 216 key permission...
Forms and Lists are not good because they do not interact with roles, or is there a method that I don't know?

Thanks




 
New Post
2/1/2011 1:44 PM
 
Only a precision, the page incriminated is the Module Setting in Edit mode.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...Permission roles very slowlyPermission roles very slowly


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