Forums / Developer / Limiting users to 1 site design?

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