You need to Register for free and Login to post a message in the forum.

Forum

How to Limit Access to Administrator Modules in DotNetNuke 5 - issue 50
Last Post 2011-03-18 03:04 AM by Joseph Craig. 24 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 2 of 2 << < 12
Author Messages
Guru DigitalUser is Offline
Nuke Newbie
Nuke Newbie
Posts:1

--
2010-07-19 04:29 AM
Thanks for this tutorial but I have a problem as I have the latest DNN Community edition installed and the admin modules do not appear on the module drop down list when trying to add them following this tutorial. I am logged in as host.

Any ideas, please?


Colossus ITUser is Offline
Nuke Newbie
Nuke Newbie
Posts:5

--
2010-08-10 02:47 PM
Hi Lee that was a really good tutorial helped me loads.
One question though, I've now given staff members ability to add users, and give them roles, all good stuff and in a days work for them managing user access to the website. However they can also now see the 'Manage profile properties' link which I don't really want them playing about with. Presumably to change this I need to dive into the DNN code and switch off the link if they are not administrators. Can you advise where to start on this? I'm experienced in asp .NET but not had a go at customising the DNN code.
Any pointers gratefully recd or maybe you've addressed something like this elsewhere  in another tutorial
Many thanks
Rob


Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9299
Avatar

--
2010-08-12 03:05 AM
Rob,

If you are lucky, you'll be able to modify the .ascx page to use some server-side processing to suppress that, or other, link or code.

I would recommend that you give your staff members a role like "staff_admin" and use that.

Follow this link over to Snapsis.com for some really good ideas.  Remember that what you can do in a skin you can also do in an ascx page.  I'd do some conditionals to make remove the links for people not hosts or admin.  That would include staff_admin.

--------
Remember that any changes like this are changes to the core code.  They won't survive upgrades, and you will have to do them after upgrading.  And, the ascx may change.  So, save code, save notes, etc.



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Jan HorniakUser is Offline
Nuke Newbie
Nuke Newbie
Posts:1

--
2011-03-17 08:24 AM
User in Member of Staff role see in Pages(tabs) module also administrator’s pages (even user can delete admin pages), this is wrong.

Is here some solution to limit seen admin pages for this user?


Joseph CraigUser is Online
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9299
Avatar

--
2011-03-18 03:04 AM
Perhaps you want to give Staff privileges to only modify modules?



Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
You are not authorized to post a reply.
Page 2 of 2 << < 12


Active Forums 4.3

Latest Forum Posts

Rename or move site from domain name to subdomain name by Bill Quinn
Hi, I have an old DNN site on a a TLD like this: websitename.com I have created a portal on
RE: Deploying dnn by Sameer
Thanks joeseph glad with your answer it means i can use CE for my site if the traffic are not
Unable to Create Skin Package by schilders
Hi, I'm trying to create the skin package and manifest for my new skin. I created the new skin e
RE: user adding images by Joseph Craig
I think that you will need to go to the File Manager and give the user and/or security group file up
RE: lightroom effect for skin by Joseph Craig
There are modules available that do this. On the commercial side, I've used Mandeeps' Live Conten
RE: Creating structured page content by Joseph Craig
Take a look at Ventrian's News Articles module. While commercial, it has a very modest price! Th
Creating structured page content by Stephen Bugden
Hi, Can anyone recommend a module for creating and managing page content? The kind of thing I'
lightroom effect for skin by everett31
I’m looking for a way to add the lightbox effect to a skin file. I would like the end user to have
RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
According to my web searching, @font-face references cause crashing in IE7 and IE8 with css3-mediaqu
user adding images by rod lloyd
I have set up permissions for certain users to edit a module, but when they log-on and enter Edit Co
RE: Deploying dnn by Joseph Craig
The free Community Edition of DotNetNuke is perfectly fine for creating "world class" websites. Whi
RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
any idea what approach I should take - IE completely locks up. The only cause is the combo of the
RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by Joseph Craig
If you're up to doing some debugging, you might be able to figure out where the problem lies. That'
RE: Deploying dnn by Sameer
Hi Joe Thanks for your reply i am planning to create my own DNN site so for that i have chec
RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
Thanks for the response, but I was hoping it was something I could fix with some skin tweaks - one i
RE: Changing Search text by Joseph Craig
You will want to look here for references about the DotNetNuke skin objects. The document written b
Changing Search text by Abraham Tameru
Hi, Instead of having "Search" text near the search text box, I wanted to replace it by an image
RE: Strange issue with file manager on sub domain (sperate portal) by Web Services
Just sent it.
RE: Not able to load my dotnetnuke website on Internet Explorer though it is working fine with other browsers by Joseph Craig
Did you get this fixed? (Apologies for not getting to this sooner...)
RE: Web Design Company London by Johnny Gregory
Hello I am a Manager here at PowerDNN and I would like to see if you are still looking to get the wo
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds