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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyPrivate results - only showing for host accountPrivate results - only showing for host account
Previous
 
Next
New Post
8/14/2006 1:18 AM
 

I am using survey module on an intranet and  have given admin access to survey module to certain roles but they cannot view results ....neither can admin account only host.

3.03.04 dnn

3.03.00 Survey module

Please help

 
New Post
9/6/2006 10:25 AM
 
We are having the same problem.
 
New Post
9/10/2006 9:14 PM
 

Set the Default Cache Time to 0 (and click the Update Cache Properties button to set it). because module caching might be causing the problem.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
9/11/2006 2:24 PM
 
Not sure if this is the fix for all DNN versions but here is how I resolved the problem for 3.3.4, survey module 3.03. You will need to download the source code for this module.

The problem was in the DisplayResults function in the Survey.ascx.vb file. The code :

If DotNetNuke.Security.PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleId.ToString) Then

is sending off the administrator role id to the IsInRoles function but it should be sending of the administrator role name, the IsInRoles function looks at role names only it wont resolve role ids to role names. I replaced it with this code :

If DotNetNuke.Security.PortalSecurity.IsInRoles(Me.ModuleConfiguration.AuthorizedEditRoles()) Then
 

this allows results to be displayed for any role that has edit rights to this module, this works best for our clients but you could easily just pass the administrator role name only. Since this change is in the VB code the module will have to be recompile and the DLLs copies to the appropriate bin folder on
your server.

Hopefully this helps

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveyPrivate results - only showing for host accountPrivate results - only showing for host account


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