Need help with access permissions for user

Author Message

Victor Gjeset

Thursday 29 September 2005 11:19:45 pm

Hello

I am trying to create a user that just has access to one folder and all objects under that folder.

I tried to create a user on top-lever (not under editors), and created a role that had following rules:
1. all modules, all functions, no limit
2. user module, all functions, no limit

Then a chose that this role will be limited to one user and correct folder / subree.

When i look at the user, i see that it has correct access rights and role.

Problem is, that when i try to log on admin pages with this username and password, it says that it can not show the page because i do not have correct access rights.

What is correct way of defining access rights for a user, to be able to log on, and edit just one folder tree?

Thank you in advance,

Arran Price

Sunday 02 October 2005 12:20:12 pm

Hi Victor,
Im assuming that you need the user to have editor access, rather than just read access to the site.

Depending on your version of ezpublish you can do a couple of things.
Add the user as an editor with a limitation on the specific subtree (test it, as there was a bug up until about a month ago that caused problems).
or (and I dont have a default roles installation anymore, but this is what we do):
The editor role specifies what a general editor can do, ie login to the admin interface and use the online editor. Then we have other roles which specify what can be editted for specific user profiles (so a news editor, can only create content within that subtree/section).

Hope that helps.

cheers

Arran

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

Main resources:

Total runtime1.3954 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 593.3203152.6406
Module start 'layout' 0.00780.0025 745.960939.4766
Module start 'content' 0.01031.3837 785.4375461.2266
Module end 'content' 1.39400.0013 1,246.66418.1250
Script end 1.3953  1,254.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2158160.0002
Check MTime0.00130.0943160.0001
Mysql Total
Database connection0.00140.102810.0014
Mysqli_queries1.348396.6288540.0250
Looping result0.00050.0356520.0000
Template Total1.364497.820.6822
Template load0.00170.120020.0008
Template processing1.362797.658020.6813
Template load and register function0.00040.027110.0004
states
state_id_array0.00070.047410.0007
state_identifier_array0.00090.061820.0004
Override
Cache load0.00140.1004230.0001
Sytem overhead
Fetch class attribute can translate value0.00070.049920.0003
Fetch class attribute name0.00110.080020.0006
XML
Image XML parsing0.00020.016420.0001
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00060.0401100.0001
String conversion0.00000.000440.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs