This project is read-only.
2

Closed

Problems with permission DNN 7.3.3

description

When I try to edit list settings to from deafult Grid table to XSLT I get "You don't have permission to see the files on the site" I have DNN 7.3.3 and it worked perfekt when I tryed it in DNN 7.2.2. Can anyone help me?
Closed Dec 23, 2015 at 10:27 AM by Timo_Design
Issue as caused by an issue in DNN, not FnL

comments

Timo_Design wrote Dec 19, 2014 at 2:23 PM

If you try getting to the xsl sheet files from the the file manager, can you access them? (xslstylesheets folder)

heathshults wrote Dec 19, 2014 at 10:43 PM

Im getting the same issue. I can access the stylesheet through the file manager but not through form and list.

Timo_Design wrote Dec 20, 2014 at 12:46 AM

I just tested this on DNN 7.3.3

Logged in as Host
  1. Place Fnl Module on a page
  2. Start with new configuration
  3. Add new Column (Title, type Text)
  4. Page related settings > List Settings >
  5. Generate New
  6. Save the xslt styelsheet works as expected.
So I cannot reproduce the bug.
Did you upgrade to the latest version of FNL?
If so, can you post steps to reproduce?

Timo_Design wrote Feb 27, 2015 at 11:54 AM

Unable to reproduce this issue

** Closed by Timo_Design 02/27/2015 3:54AM

justing2000 wrote Dec 22, 2015 at 6:44 PM

I am able to reproduce this issue exactly as described here. This has been done with a deployment of a web app on Azure using the latest instance provided by DNN.

The version of DNN is 7.4.0
The version of F&L is 6.1.0

Using a Host admin login and I am able to access the stylesheet through the file manager in the folder.

This may have something to do with Azure web app permissions that are different by default from an IIS deployment.

Please feel free to contact me for more information.

justing2000 wrote Dec 22, 2015 at 8:23 PM

I have further information on this issue. I have been able to work around the issue, but it is not a great work around.

All of the user's having this issue are Host Admins. By simply adding Registered Users the permissions to fully manage the XslStyleSheets folder in folder manager the problem goes away. So whatever is checking permissions is getting a false return on the selection of an XSLT file.

This works for us for now, as this particular site if private registration and we don't plan on having any users soon, but it should be resolved.

I did a little poking in the code, but not deep, so I may be incorrect, but it is potentially an issue in:
FolderPermissionController.CanAdminFolder

Thank you!

Timo_Design wrote Dec 22, 2015 at 10:27 PM

I re-opened the issue, but I don't think it's an Azure only issue (that would be really weird).
Not sure why you are using 7.4.0, why not 7.4.2?
Could you test to see if you still have the issue if you upgrade to 7.4.2?
Also there have been some file access issues on previous updates, which might cause this.
Can you try resetting the rights? (remove registered users from the folder)?
The way to "fix" folder right issues is to set the rights once (to whatever value)

Thanks, Timo

justing2000 wrote Dec 22, 2015 at 11:40 PM

Thank you Timo.

Yes, removing the rights, it still is working fine. So your assumption seems to be correct.

The current image for a DNN web app published by DNN is 7.4.0, that would be the default for anyone that uses the Azure instance until a new one is published to the Azure Marketplace.

I won't be able to upgrade soon, but even after it may be hard to tell if it resolves the issue 7.4.2 since it appears to be resolved now without the rights.

Timo_Design wrote Dec 23, 2015 at 10:26 AM

I did not expect this to be an issue on a fresh 7.4.0, aparently it is.
It has to do with a major change in how admin users are treated in DNN AFAIR.
Upgrading would be a good thing anyway as it fixes a lot of (other) smaller bugs.
Thanks for posting and your quick replies.
Happy to see it's fixed now and I''ll close the issue again :-)