Re: CuteEditor & DotNetNuke access right problem

  •  01-26-2005, 2:12 AM

    Re: CuteEditor & DotNetNuke access right problem

    Adam,

     

    did you try to set html-modules and tabs edit and view settings to only Administrators (not all users) then login as Admin and add picture to page and update. 
    It works ok for me if edit/view settings are set to allUsers or I'm logged in as host.

    I can't understand where else the problem could come from than CuteEditor. Other modules and default html-editor work fine.

    I tried to find the place from the DNN code where the problem comes from and it is here below:

    DotNetNuke\Admin\Skins\Skin.vb :

    Case SecurityAccessLevel.Edit   ' edit
                                If PortalSecurity.IsInRole(_portalSettings.AdministratorRoleId.ToString) = False And PortalSecurity.IsInRoles(_portalSettings.ActiveTab.AdministratorRoles.ToString) = False Then
                                    If Not PortalSecurity.IsInRoles(_moduleSettings.AuthorizedViewRoles) Then
                                        blnAuthorized = False

                                    Else
                                        If Not PortalSecurity.HasEditPermissions(ModuleId) Then
                                            blnAuthorized = False

                                        End If
                                    End If
                                End If 

    So if  "blnAuthorized = False" then error message is shown.

    Any ideas how to get rid of this?

    Thanks

    Mike



     
View Complete Thread