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 ForumsRepositoryRepositoryGlobal permissions?Global permissions?
Previous
 
Next
New Post
1/19/2006 3:08 PM
 
We're in the midst of implementing a DNN Intranet for my small company. Because of the company size and diverse roles, the intranet will only accessible from within the office but will not require a login -- the goal being that everyone has access to everything. (Not my choice.)

We're using the Repository for several file areas and I was wondering if there was any way to allow a non-logged in user access to edit the module and the existing files, or to delete files as needed.

I've tried giving all user groups (including unauthenticated users) full admin access to the module, but it does not seem that they then see the necessary edit button and the like.

Am I missing something? Any help would be most appreciated.

Thanks,
Dan
 
New Post
1/19/2006 3:52 PM
 

There's a bug in the moderation settings that's fixed in the next version but reading your email it looks like, unless I'm reading your post wrong, you're setting All Users with Edit Module rights under the Basic Module Permissions area. I can't say without looking at the code (which isn't on the computer I'm using at the moment) why that wouldn't work.

 
New Post
1/19/2006 4:10 PM
 
You are reading me correctly -- All Users have Edit permission  (as set in the Module Settings) and yet only users that explicitly log in are able to edit/delete documents or modify the module.

Thought it was a tad odd myself, especially as it doesn't seem to be a problem with any other module type.

Thanks for your input though, I'll keep fiddling for now.

- Dan
 
New Post
1/19/2006 10:54 PM
 
Okay I sorted out why you're aren't seeing the pencils for editing. Currently you only see the edit pencil if you're authenticated and were the user the updated the file or if the user belongs to the portal administrator role. I'll dig around and see if I can find the setting and I'll pass it onto the programming crew but we're currently in a code freeze so there's no guarantee that it'll make the end of the month release.
 
New Post
1/19/2006 11:41 PM
 

Dan... do you have Visual Studio so that you can recompile the project? In your case that's something that's going to have to happen, I think, as allowing Unauthenticated Users the ability to edit uploads isn't really possible whether they're admins or not with the project without changes. The line that decides whether to show the edit pencil is as follows....

If context.Current.User.Identity.IsAuthenticated And (UserInfo.UserID.ToString() = objRepository.CreatedByUser.ToString() Or  PortalSecurity.IsInRole(PortalSettings.AdministratorRoleName) ) Then

Most modules, at least the versions that come with DNN, rely on the Module Settings to decide whether the user can edit a file or not which works fine for most modules as, in your case, the only time a group would be given admin rights was for that exact reason but the Repository is a different bird. Because an admin can allow any user (authenticated or not) upload a file it has to take extra steps to make sure that an unauthenticated user can mess with files uploaded by another unauthenticated user hence the context.Current.User.Identity.IsAuthenticated. What you can do to fix it is to change that line to

If IsEditable Then

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryGlobal permissions?Global permissions?


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