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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...new page in DNN 6 visible to all, cannot be restricted?new page in DNN 6 visible to all, cannot be restricted?
Previous
 
Next
New Post
4/25/2012 9:52 AM
 

ANy help is appreciated, using DNN6.1.3, I've added a new page, and automatically, the "All Users" role is granted read and edit permissions, with the "lock" on it, so I cannot remove it.

I then grant a specific user group view permissions (green check mark), and I want only that group to be able to see this page, but no matter what I try, all users can see it.  I test that by logging out completely and can still see the page in the menu and can view the page.

Did something change in version 6 that is doing this by design and I just don't know it?  How can I get only the specific roles/users to see the page?

Any help is greatly appreciated, thanks!!

 
New Post
4/25/2012 2:38 PM
 
there was a bug in an earlier version of dotnetnuke (5.5.0 as far as I remember) where the registerroleid could be incorrect and this would cause this problem - theres a script at http://www.dotnetnuke.com/Resources/Blogs/EntryId/2897/Fix-Portal-Permissions.aspx which fixes it (please backup your database first befoe applying it)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
4/30/2012 10:35 AM
 

Thanks, I ran the script, restarted the application, also cleared the cache, but it didn't help.  There is no "Administrators" group at the very top, the top group is still "All Users" and they still have the locked in full permissions.

I also tried creating a new page again, and it's still there for new pages as well as previously created pages.

Any other suggestions are greatly appreciated, thanks!

 
New Post
4/30/2012 10:56 AM
 

Not sure if the script is executing correctly.  When I paste it into Host > SQL, it won't run unless I check "run as script", then it says it executed successfully.

If I try to run it directly in SQL manager, it won't run either, so I change the owners and object qualifiers to get it to run, which it does, but says "0 rows affected", so I don't think it's changing anything.

This is what I changed it to:

MERGE
INTO dbo.Portals P
USING
dbo.Roles R On P.PortalID = R.PortalID
WHEN
MATCHED
AND
R.RoleName Like 'Administrators'
AND
IsNull(P.AdministratorRoleId, -1) <> R.RoleID
THEN
UPDATE SET P.AdministratorRoleId = R.RoleId;
GO

 MERGE
INTO dbo.Portals P
USING dbo.Roles R On P.PortalID = R.PortalID
WHEN
MATCHED
AND
R.RoleName Like 'Registered Users'
AND IsNull(P.RegisteredRoleId, -1) <> R.RoleID
THEN UPDATE SET P.RegisteredRoleId = R.RoleId;
GO

 
New Post
4/30/2012 2:34 PM
 
please check your roles table, whether there are roles called "Administrators" and "Registered Users"

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...new page in DNN 6 visible to all, cannot be restricted?new page in DNN 6 visible to all, cannot be restricted?


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