Forums / General / File and Image upload by users with limited administration access

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

eZ debug

Timing: Jan 30 2025 21:46:35
Script start
Timing: Jan 30 2025 21:46:35
Module start 'content'
Timing: Jan 30 2025 21:46:35
Module end 'content'
Timing: Jan 30 2025 21:46:35
Script end

Main resources:

Total runtime0.3529 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0086 589.3125370.2656
Module start 'content' 0.00860.0129 959.57811,005.4844
Module end 'content' 0.02150.3313 1,965.06253,895.0859
Script end 0.3528  5,860.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00471.3339200.0002
Check MTime0.00140.4035200.0001
Mysql Total
Database connection0.00090.242910.0009
Mysqli_queries0.255772.44771410.0018
Looping result0.00150.42931390.0000
Template Total0.330993.810.3309
Template load0.00090.241510.0009
Template processing0.330093.522010.3300
Override
Cache load0.00050.153010.0005
Sytem overhead
Fetch class attribute can translate value0.00170.482910.0017
XML
Image XML parsing0.00040.101710.0004
General
dbfile0.00561.5936200.0003
String conversion0.00000.001430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs