I am not able to make the filebrowser pages and also the embedded pages viewable by anonymous users.

In embedded pages, the initial view is rendered but the subfolders are not accessible through the links or the expander

If a filebrowser instance is created, the page does not open up for anonymous users.

message:
Access denied
You are not authorized to access this page.

Am i missing something here?
I have changed the file/folder permissions without any change in behavior. I didn't find anything in the 'access control' page about filebrowser either.

Thanks in advance for any help

Deepak

Comments

deepak.sathya’s picture

Just a small update. I have clean urls enabled.

I saw another similar issue related to clean urls which seems to be fixed by now.

dman’s picture

Um yeh.
Proper access control is a TODO :-/
It should theoretically become part of each individual profile, but that was more hassle than i needed at the time.

However, there should have been an 'access filebrowser' permission show up. The exact way of getting this to happen may have changed in recent Drupals (I'd only done it in 4.6 before) and I've not tested or noticed it.
Definately a fix needed.

deepak.sathya’s picture

Status: Active » Needs review

Ok, here is a direct copy from filebrowser module that worked for me.

/**
 * Implementation of hook_perm().
 */
function filebrowser_extensions_perm() {
  return array('access filebrowser');
}

This adds the module into access control page.

dman’s picture

Status: Needs review » Fixed

Cool. thanks.
That explains it. It never got copied across when I branched from the original filebrowser.module, developing with them both enabled I never noticed the lack.

I've rolled that into CVS now.

Anonymous’s picture

Status: Fixed » Closed (fixed)