Limiting users to 1 site design?

Author Message

Clemens T

Tuesday 08 March 2005 4:45:10 am

Heya all,
Is is possible to limit users to see/have access to just one sitedesign? I'm trying to distinct a production environment from a test environment...
Or is a .htaccess file inevitable?! I'm hoping to do it with the user group functionality of ezPublish.

\design
- mysite_test\ -> ONLY admins allowed, for previewing etc...
- mysite\ -> Production, for everyone

Greetings&Thanks for any suggestions,
Clemens Timmermans

Łukasz Serwatka

Tuesday 08 March 2005 5:04:12 am

Hi Clemens,

You can restrict user to siteaccess.

- Admin interface -> User Accounts -> Roles & policies
- Edit anonymous role
- Edit read policy
- Restrict to one siteaccess
- Save policy
- Save role

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Clemens T

Tuesday 08 March 2005 5:14:50 am

Thanks a lot, I'm really enjoying EzPublish :)!

Stéphane Cloutier

Thursday 10 March 2005 7:24:57 am

When editing Content(Read) policy for the anonymous role, the function limitations can only be applied to 'class', 'section' and 'owner'. Nothing about siteaccess there.

It works with the User (login) module/function though.

Using ezp v. 3.5.1

Qupanuaq - Snow bunting

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 11:43:05
Script start
Timing: Jan 18 2025 11:43:05
Module start 'layout'
Timing: Jan 18 2025 11:43:05
Module start 'content'
Timing: Jan 18 2025 11:43:06
Module end 'content'
Timing: Jan 18 2025 11:43:06
Script end

Main resources:

Total runtime0.8345 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 589.0469152.6250
Module start 'layout' 0.00790.0034 741.671939.4453
Module start 'content' 0.01130.8213 781.1172587.6641
Module end 'content' 0.83260.0019 1,368.781312.1563
Script end 0.8344  1,380.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4730160.0002
Check MTime0.00150.1785160.0001
Mysql Total
Database connection0.00210.246010.0021
Mysqli_queries0.774092.7576620.0125
Looping result0.00080.0956600.0000
Template Total0.799395.820.3997
Template load0.00260.313320.0013
Template processing0.796795.473720.3983
Template load and register function0.00030.030610.0003
states
state_id_array0.00130.151410.0013
state_identifier_array0.00140.170720.0007
Override
Cache load0.00220.2652280.0001
Sytem overhead
Fetch class attribute can translate value0.00100.116430.0003
Fetch class attribute name0.00100.123660.0002
XML
Image XML parsing0.00110.135930.0004
class_abstraction
Instantiating content class attribute0.00000.001460.0000
General
dbfile0.00150.1802240.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs