Read Only User

Author Message

Dhaval Panchal

Tuesday 28 December 2010 6:08:44 am

Hi All,

I need to create one read only user, which is only able to surf admin site but can't edit anything.

can anyone help?

Thank you

Dhaval Panchal

Carlos Revillo

Tuesday 28 December 2010 6:44:48 am

this is quite simple through the admin interface.

just create a new role, and asign it two policies:

user -> login -> your admin siteaccess

content -> read -> without limitations

assign this new role to the user (be sure no other roles are assigned for this user) and is done.

Hope it helps.

Dhaval Panchal

Tuesday 28 December 2010 9:34:31 pm

Hi Carlos Revillo,

Actually im new bee to eZ publish.

It helps me a lot.

Thank you

Dhaval Panchal

Dhaval Panchal

Wednesday 29 December 2010 12:08:05 am

Hi Carlos Revillo,

It works perfect but have one issue.

It displays like:

The requested page could not be displayed. (1)

The system is unable to display the requested page because of security issues.

Possible reasons:

 

  • Your account does not have the proper privileges to access the requested page.
  • The requested page does not exist. Try changing the URL.

Is it possible to hide this error or navigate user to any page?

This error occurred while navigate to Dashboard tab.

Thank you

Dhaval Panchal

Carlos Revillo

Wednesday 29 December 2010 1:02:46 am

Easier way to go is to add a new policy to that role.

content -> dashboard.

there are other ways but requires little extra work.

Cheers.

Dhaval Panchal

Wednesday 29 December 2010 6:07:04 am

Hi Carlos Revillo,

 

It works.

Thank you

 

Dhaval Panchal

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 30 2025 00:44:49
Script start
Timing: Jan 30 2025 00:44:49
Module start 'layout'
Timing: Jan 30 2025 00:44:49
Module start 'content'
Timing: Jan 30 2025 00:44:49
Module end 'content'
Timing: Jan 30 2025 00:44:49
Script end

Main resources:

Total runtime0.0117 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.0036 588.0000151.1953
Module start 'layout' 0.00360.0024 739.195336.6094
Module start 'content' 0.00600.0043 775.804794.6875
Module end 'content' 0.01030.0014 870.492233.9766
Script end 0.0117  904.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002017.3647140.0001
Check MTime0.00108.1903140.0001
Mysql Total
Database connection0.00064.689710.0006
Mysqli_queries0.002319.609230.0008
Looping result0.00000.095410.0000
Template Total0.00119.110.0011
Template load0.00087.210110.0008
Template processing0.00021.864910.0002
Override
Cache load0.00064.793210.0006
General
dbfile0.00021.846780.0000
String conversion0.00000.062940.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