File and Image upload by users with limited administration access

Author Message

Kenneth Colwell

Thursday 20 May 2004 7:21:49 am

Could someone tell me what the minimum permissions are to allow users who only have access to a sub-tree to attach files or images?

The following role has access to a sub-folder named adult studies but when you are logged in as this person and you edit and article then when you select file in the related objects box the screen just reloads and a message appears that states: Input was stored successfully. But you never get the screen to add the related object.

Adult Studies Group

Role policies

Module Function Limitation
content create Subtree( Adult Studies )
content edit Subtree( Adult Studies )
content remove Subtree( Adult Studies )
user login SiteAccess( muc_admin )

I have my related objects set to go into the media folder and I have also tried setting the role to be able to edit, create, remove items from the media folder but it still doesn't seem to work.

Please help,
Ken Colwell

Kenneth Colwell

Thursday 20 May 2004 2:11:00 pm

Perhaps I should rephrase my question like the following:

If I have a user who has the been assigned to the following role it is my belief that the user should be able to login to the admin site, edit content inside the adult studies folder (sub-tree) and add related items because all related items are stored in the media section because of my default settings.

Role view

Role Name: Adult Studies Group

Role policies

Module Function Limitation
content create Subtree( Adult Studies )
content edit Subtree( Adult Studies )
content remove Subtree( Adult Studies )
user login SiteAccess( muc_admin )
content read Section( Media )
content create Section( Media )
content remove Section( Media )
content versionread Section( Media )

Should this user be able to use the related objects drop-down box to upload images or files? I happen to know that they can't on my site so I'm looking for any suggustions, observations, deep thoughts, or ice cream that might be helpful in solving this issue.

Thanks,
Ken Colwell

Vidar Langseid

Friday 21 May 2004 5:39:00 am

Possibly related to:
http://ez.no/community/bug_reports/unable_to_create_related_object_without_very_relaxing_privileges

Best regards,
Vidar

Kenneth Colwell

Friday 21 May 2004 6:59:01 am

Hello,

Yes Vidar, that does seem to be the same problem. Should I append my information to the bug report or just leave it here in the forums?

Thanks,
Ken Colwell

Vidar Langseid

Friday 21 May 2004 7:15:39 am

I have already done that

Best regards,
Vidar

Vidar Langseid

Monday 24 May 2004 7:34:15 am

Bug is now fixed. Fix will be in 3.3.6 and 3.4.0 release.
It is also available from SVN (http://pubsvn.ez.no) if you want to test it asap. See bugreport for further revision information

Best regards,
Vidar

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 15:52:33
Script start
Timing: Jan 18 2025 15:52:33
Module start 'layout'
Timing: Jan 18 2025 15:52:33
Module start 'content'
Timing: Jan 18 2025 15:52:33
Module end 'content'
Timing: Jan 18 2025 15:52:33
Script end

Main resources:

Total runtime0.7575 sec
Peak memory usage4,096.0000 KB
Database Queries66

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.6094152.6563
Module start 'layout' 0.00480.0030 742.265639.5078
Module start 'content' 0.00780.7482 781.7734511.8828
Module end 'content' 0.75600.0015 1,293.656312.0938
Script end 0.7575  1,305.7500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4588160.0002
Check MTime0.00160.2089160.0001
Mysql Total
Database connection0.00080.100710.0008
Mysqli_queries0.701392.5813660.0106
Looping result0.00070.0887640.0000
Template Total0.728796.220.3644
Template load0.00210.282020.0011
Template processing0.726595.912320.3633
Template load and register function0.00030.033010.0003
states
state_id_array0.00110.141010.0011
state_identifier_array0.00090.124620.0005
Override
Cache load0.00180.2406520.0000
Sytem overhead
Fetch class attribute can translate value0.00060.078820.0003
Fetch class attribute name0.00140.178660.0002
XML
Image XML parsing0.00020.027420.0001
class_abstraction
Instantiating content class attribute0.00000.002160.0000
General
dbfile0.00070.0969100.0001
String conversion0.00000.001140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
10content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs