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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...TabInfo.IsAdminTab - No longer valid in DNN 5.0?TabInfo.IsAdminTab - No longer valid in DNN 5.0?
Previous
 
Next
New Post
1/8/2009 5:00 PM
 

I think the reason Bruce started this thread was because he had a problem in his module.

I expose this property in PageBlaster and CSS NavMenu as a template token, so anyone who has created templates or used that property in previous versions will get unexpected results.  My CSS NavMenu does not use it to hide or display admin only tabs since I do that by filtering on TabName and/or TabPath.

Technically I guess this isn't a "breaking" change since binary compatability is maintained, so I guess making it always false now that there is no longer Admin Tabs has some validity. Erik is right that it should not have ever been used for security purposes.

But there was a breaking change that I haven't seen mentioned anywhere for TabInfo.AdmistratorRoles and TabInfo.AuthorizedRoles which used to be read/write and now are read only.

 


DotNetNuke Modules from Snapsis.com
 
New Post
1/8/2009 5:21 PM
 

John,

did you log your finding in Gemini, please. Thank you.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/8/2009 5:52 PM
 

ErikVB wrote

 Timo Breumelhof wrote
 

An admin module is an admin module and gives any user that can access it Admin rights for that module, so the discusion about other users accessing the admin pages is theorectical IMO (sorry Erik ;-)

If you giva a "normal" user access to one of the exisitng admin pages this user in effect has the same edit rights as an admin.

 

I respectfully disagree with you Timo ... in DNN 5 it is EXPLICITLY possible to give non admin users access to part of the admin menu. Any module checking for "IsAdmin" would hide that page, regardless of actual permissions, which in turn will cause the user to NOT be able to navigate to that page. The issue with the IsAdmin flag is that it doesnt do any permission checking, it only checks based on a location in the menu. This was good when we could safely assume that the only role accessing that page in that menu was the admin role. Since we cannot and should not assume that anymore, the IsAdmin flag should always return False (and let permissions do their work).

Quite frankly, i think this whole discussion is academic. Can someone please give an actual example where a module or skin object behaves differently between dnn 4 and 5 and where this is a major issue.

Well although your agruments are mostly valid and it is difficult to find a good solution, it is also a serious problem.

Housemenu now renders admin pages, (if you are logged on as admin) even if you have set it shouldn't.

I mostly do not render the admin pages in the main menu.
This means I will have to change a lot of skins before I can use them with DNN 5.

(read: change the menu system)

For me that's not such a big problem, but for people that are not skinners it is.

IMO this is a breaking change, similar to the "solpart provider problem".

 
New Post
1/8/2009 6:19 PM
 

Sebastian Leupold wrote

John,

did you log your finding in Gemini, please. Thank you.

----------------------------------

No, I didn't see any reason to, since I don't think it will get changed back, and I didn't explicitly need to set those values. 
The only reason it was a problem was because I had inherited from the TabInfo object and it broke in a clone function.


DotNetNuke Modules from Snapsis.com
 
New Post
1/8/2009 7:01 PM
 

understood. Thanks.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...TabInfo.IsAdminTab - No longer valid in DNN 5.0?TabInfo.IsAdminTab - No longer valid in DNN 5.0?


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