MyPage ignores security

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/9/2010 5:59:01 AM
Gravatar
Total Posts 21

MyPage ignores security

Im not sure if this was intentional but it seems if I make for example a admin only viewable content available for mypage my assumption allowing admins only to be able to use this content. It allows the user to see that it exists and throws an error if they try to use it.

What operating system? Win 2k8(Server)
What database platform? MSSQL 
What version of mojoPortal? 2.3.3.2 

To note error in log is:

2010-01-09 12:44:14,251 ERROR mojoPortal.Web.Global - XXX.XXX.XXX.XXX-en-GB - /MyPage.aspx?c=t
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.SiteModuleControl.OnInit(EventArgs e)
at mojoPortal.Web.ContentUI.HtmlModule.OnInit(EventArgs e)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.InitRecursive(Control namingContainer)
at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart)
at System.Web.UI.WebControls.WebParts.WebPartManager.WebPartManagerControlCollection.AddWebPart(WebPart webPart)
at System.Web.UI.WebControls.WebParts.WebPartManager.AddDynamicWebPartToZone(WebPart webPart, WebPartZoneBase zone, Int32 zoneIndex)
at System.Web.UI.WebControls.WebParts.WebPartManager.AddWebPart(WebPart webPart, WebPartZoneBase zone, Int32 zoneIndex)
at System.Web.UI.WebControls.WebParts.CatalogZoneBase.AddWebParts(ArrayList webParts, WebPartZoneBase zone)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

 

Thanks for your time

Tooey

1/9/2010 9:31:47 AM
Gravatar
Total Posts 18439

Re: MyPage ignores security

Hi Tooey,

Sorry, but the MyPage feature is not driven by roles, if you make a content instance available to My Page you are essentially publishing it to the public.

It is very much like My Yahoo or iGoogle, there is the same catalog of widgets available to all users not based on roles or specific users, there are no private widgets. It is just a way for users to create a personalized view of public content. Any feature meant only for people in specific roles should not be made available to My Page.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.