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

Forum

Subject: How to limit access to the admin menu....
Prev Next
You are not authorized to post a reply.

Author Messages
dp6ai
Nuke Active Member
Nuke Active Member
Posts:21

17 Jun 2008 12:23 PM  
I have followed the tutorial on "How to limit access to the admin menu" (great tutorial again!) but have come across a slight issue.

Once the pages (tabs) page has been moved to the new SiteAdmin Menu you are not able to add pages, only edit and move them, when logged in with the SiteAdmin user account.

Does anyone know a way round this?

thanks in advance

DP
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2371


18 Jun 2008 8:23 AM  
I don't have a solution, but I do have some good news. Version 5 of DotNetNuke will be much friendlier to those who want to rearrange administrative modules ...

Joe Craig
DNN Creative Support
Subscribe to the website
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

18 Jun 2008 8:31 AM  
what version of DNN are you using? I just tested this and it works for admin users on one of my test installs. - Do you have access to the module settings menu for the tabs module? - You should see the option to add new page.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
dp6ai
Nuke Active Member
Nuke Active Member
Posts:21

18 Jun 2008 11:42 AM  
Lee,

I'm running version 04.08.02 which is pretty recent.

An admin user does have access to the module settings and can add a page that way but surely the point is to create a non admin user who can use parts of the admin menu. Doesn't it defeat the point if they have full access to the admin menu anyway?

Thanks for your help.

DP
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

19 Jun 2008 4:18 AM  
Hello,

I just tested this again and it works for a non administrator.

I created a new dotnetnuke security role and assigned it to the user
I then went to the page settings of the tab page and gave that security role view and edit permissions for the page

This gave them full access to the module for adding pages

Thanks,

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
Revide
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:2

13 Aug 2008 9:19 AM  
Hello,


This enables the user to add pages, but it also gives them access to the Control Panel and all the modules.

 

Is there a way to disable the Control Panel but keep the add pages functionality?


Another problem I’ve seen is that when the user adds a new page the parent page drop down is disabled. Is there a workaround for this problem as well?


 

Thanks in advance

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

18 Aug 2008 3:03 AM  
Hello,

There is not a way to configure the module settings for the tabs module, so unfortunately the user has access to the control panel.

There is no workaround for the disabled parent page drop-down

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
tallorder
Nuke Newbie
Nuke Newbie
Posts:2

06 Sep 2008 7:50 AM  

Shame about the parent page drop down being grey out since any Site Administrator is going to want to add and move pages.   

Lee please can you advise how to put the tabs/pages back under the Admin menu?

Thanks

 

leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

06 Sep 2008 9:05 AM  
Hello,

Simply reverse the process, you can copy the settings from one of the other admin menu items that you will see in the tabs table, such as user accounts.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
tallorder
Nuke Newbie
Nuke Newbie
Posts:2

07 Sep 2008 6:28 AM  
Hi Lee
Unfortunately I can't see how it works in reverse because the original process involved moving the Pages page to put it under the Home page via the Parent Page control. There is no way to specify Admin Page as the parent page when trying to reverse the process. Thoughts?
leesykes
DNN Creative Staff
Nuke Master III
Nuke Master III
Posts:3375

08 Sep 2008 8:09 AM  
Open the Tabs Table with SQL Server

Look in the TabNames column for the Portal - find the tab you wish to return back into the menu, ie. 'User Accounts'

You should see that for this row, the ParentID is a different value to the other elements in the admin menu, all you need to do is change the details for the User Accounts row to match the other rows that are in the admin menu - ie. in my live installation I would need to chnage the ParentID back to '39', level to 1, tab path to //Admin//UserAccounts

etc.

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > How to limit access to the admin menu....



ActiveForums 3.7

Latest Forum Posts

Restricting DateEditControl till date by coder247
Hi All,   We are using the DateEditControl (for obvious reasons!!) in our application. But we want t...
RE: Email Set UP per Portal by jncraig
I think that the answer depends on how email is configured at your host. You'll probably have to co...
RE: skin/container error load by jncraig
I would suggest checking permissions for directories. Does this occur only when you upload a skin...
RE: Add New Profile Properties by jncraig
Hmmm ... I don't have an answer. Does anyone else?
RE: No Access for me too by ristori
it is ok now. Thanks for this action.
skin/container error load by islandman
Has anyone else run across this error when loading skins or containers from site settings?I am using...
Email Set UP per Portal by islandman
How do I set up a unique email address per domain name off 1 hosting environment. for example...m...
RE: localhost Install issues by cdees
Lee: I wanted to follow up on this for anyone following this thread. I have been unable to solve t...
RE: Add New Profile Properties by WSI
HI Joe, The DNN version is 4.5.5. Thanks, Cliff
Change Skin on URL by vinita
Hi,Can the skin be changed based on the url used to access a portal. Multiple portal aliases may be ...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
problem creating child portal by kabamaro
  Hello all i have 4 Aliases for my parent portal , lets call them X,y,Z,WIn all Aliases i can creat...
Best DNN portal ever! by derpir
I have been a subscriber since august 2008, and DNNCreative.com is simply the best DNN Portal, their...
RE: skinning trouble by derpir
Hello Yes could you be so kind and take a look att the htm-file and css-file.I would be very gratef...
Search function is not working by kishorpawar
I am using Seach module in my project but not working, i have set   host setting alsoHost --> Schedu...
RE: backend is changing from sql2005 to sql2008 by leesykes
hello,There should not be any code changes needed, but you'll need to make sure that SQL 2008 upgrad...
RE: skinning trouble by leesykes
Hello,I would need to see your code to help you with this one, you can zip up your files and attach ...
RE: Installing DotNetNuke 4.9.00 on VWD 2005 w/ SQL server 2008 by leesykes
I have run a test with SQL Server 2008 express and DotNetNuke installed in exactly the the same way ...
RE: Issue 39 Interview by leesykes
thanks Bill, glad it was useful, we will have a think about the best way to approach this,Thanks,
RE: Issue 39 Authentication by leesykes
yes I have a live site in 4.9.0 at it seems stable as well.
AppTheory
RSS Feeds