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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module SecurityModule Security
Previous
 
Next
New Post
7/28/2008 6:31 PM
 

Hello DNN Community,

 

I have developed a custom module that I want to allow the typical user to add items to, but I do not want to allow them to access module settings or other functions off the module menu. Basically, all I want the to be able to do is add/edit/delete items from the list and have no access to any other function on the module menu. Will this require another level of security beyond view and edit? Or is there an easier way to accomplish this? Hope so.

 

Thanks Todd.

 
New Post
7/28/2008 8:55 PM
 

Hey Todd,

The most straightforward way to accomplish this would be to set your module up in a way that the features you would like to restrict would require Edit rights, whereas the "general" functionality would be available to those that have view rights.

If you added to the module settings with your own custom settings, these are already only available to those who have edit rights. However, if currently you have your "Add/Edit" control (assuming you have one) set up as an "Edit" control in your module registration - you'll want to change this to "view".

You can then give "registered users" permission to view your module. Because the registered user will not have "edit" permissions, they will not get to see any of the other settings.

*edit* wanted to clarify that for this module (and potentially the page) only the  "Registered Users" role would have the ability to View -- "All Users" would not, and only Administrators would have the ability to Edit. This should be the appropriate setup - if not let me know and we'll figure it out ;) *edit*

Hope that helps!

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
7/29/2008 4:49 AM
 

- Create a new page or choose an existing page in ur DNN site, add the module here. Then setting the page, set "View" for Registered User, now only registered users can access this page, do any actions (add, edit, delete items) but they can't edit or delete module or somethings like that.

 
New Post
7/29/2008 12:00 PM
 

Hey Ian,

 

Thanks for the reply. This is working exactly as I wanted! Simple answer. I guess I am just too close to this stuff sometmes!

 

Thanks Todd.

 
New Post
7/29/2008 12:01 PM
 

Hi Thaytu,

 

Thanks for your reply. What you and Ian have suggested worked great!

 

Thanks Todd.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module SecurityModule Security


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