Forums / Setup & design / Don't browse on the parent directory with OO extension

Don't browse on the parent directory with OO extension

Author Message

Laurent Patenotre

Friday 31 March 2006 8:47:34 am

I am using the Openoffice extention .

I would like to upload the file in a specific directory...
So in the browse.ini.append.php file I have write this:
[OOPlace]
StartNode=102

So this It's OK. When I upload the file I can browse with this start node.

But, How I can remove the possibility to browse in the parent node?
With the OpenOffice extension we can't assign some limitation.

Thanks

Laurent

Gabriel Ambuehl

Friday 31 March 2006 9:19:25 am

Did you try if the normal content limitations are being enforced in browse mode?

Visit http://triligon.org

Laurent Patenotre

Saturday 01 April 2006 10:51:55 pm

Yes (I think!)

I have create an "expert" role with the function below
oo all the functions No limitations
content read Section( Section Expert )
content create Class( Article ) , Section( Section Expert )
content edit Class( Article ) , Section( Section Expert ) , Owner( Self )

And the experts user have no limitation with this role. An expert user is an user with expert role.

When I use the link .../plain/oo/import to import an oo document in the expert section.
I have create a section with expert role and I have use the Startnode variable to go directly in this section when i use the import link.
So when we import a document we can browse on the parent directory. We can import this document in the complete site!
I would like to limit the import only in the expert section!