Webdav enabled Intranet with personal folder space

Author Message

steve walker

Monday 11 July 2005 12:07:41 am

Hi there,

We are developing an intranet in which each user has their personal space to upload files etc.

I have been looking around the forums, and obviously the article:

http://ez.no/community/articles/build_a_webdav_enabled_intranet_with_ez_publish

helps me out loads :) I have also seen other articles that show how to create a personal folder for users when they register or their accounts are created by admin through workflows:

http://ez.no/community/forum/general/dinamically_creating_a_folder_asigning_roles

http://ez.no/community/forum/developer/dynamic_creation_of_a_folder

I want to add a link on the page 'my documents' - this links into their personal folder area - could anyone tell me how I'd code this link to automatically point to the folder setup for the user thats logged in?

Thanks, Steve.

http://www.oneworldmarket.co.uk

steve walker

Monday 11 July 2005 11:09:46 am

Any takers?

http://www.oneworldmarket.co.uk

Xavier Dutoit

Tuesday 12 July 2005 1:04:32 am

Hi,

Assuming you've the workflow to create the folder, you can do it using only the access rights.

You crate a "content/Personal folders"
For each user, you create a subfolder (owned by the user), eg
content/Personal folders/Xavier Dutoit

With the following access rights:
read: owner
write: owner

And that's it, on webdav, you only get content/Personal Folders/Steve Walker (as you don't have the access rights to the other personal folders).

X+

http://www.sydesy.com

steve walker

Tuesday 12 July 2005 1:18:10 am

Thanks Xavier.

http://www.oneworldmarket.co.uk

Lex 007

Monday 05 September 2005 8:32:44 am

Hello,

I would like to achieve the same thing. Steve, could you please post some sample code, especially for folder creation + roles assignment workflow ?

Did you write a special admin interface for the visitors who want to edit their personnal folder ?

Thanks

Lex

Gabriel Ambuehl

Monday 05 September 2005 9:12:23 am

Being able to edit a folder doesn't mean you can create new stuff in there.

But do search for ParentOwner permissions, if it works, a donation is much appreciated ;)

Visit http://triligon.org

Lex 007

Monday 05 September 2005 9:22:54 am

Oops you are right, I didn't mean "edit" the folder, but create objects under it.

I'll have a look at ParentOwner, thx ;)

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 14:54:36
Script start
Timing: Jan 18 2025 14:54:36
Module start 'layout'
Timing: Jan 18 2025 14:54:36
Module start 'content'
Timing: Jan 18 2025 14:54:36
Module end 'content'
Timing: Jan 18 2025 14:54:36
Script end

Main resources:

Total runtime0.0142 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 589.4766152.6406
Module start 'layout' 0.00430.0028 742.117239.4922
Module start 'content' 0.00720.0053 781.609497.3672
Module end 'content' 0.01250.0017 878.976638.3047
Script end 0.0142  917.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.4591140.0002
Check MTime0.00107.2922140.0001
Mysql Total
Database connection0.00053.240610.0005
Mysqli_queries0.002517.603930.0008
Looping result0.00000.083810.0000
Template Total0.001410.110.0014
Template load0.00096.162910.0009
Template processing0.00063.872310.0006
Override
Cache load0.00074.624710.0007
General
dbfile0.00139.130480.0002
String conversion0.00000.055340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs