This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Setup & design » roles and users
expandshrink

roles and users

roles and users

Wednesday 23 July 2003 6:58:09 pm - 3 replies

I can't manage to show only one subfolder of a root folder without showing the whole content of this root folder...hum ---> Explanations :
I created a section "extranet" with a folder assign to it and you have to login to read it (extranet ! blunk.gif Emoticon)

The folder is name "extranet" and it is located at the root of the sitemap.

In this folder I created n subfolders. When the customer login (pointing to the root folder) I just want to show him his (her) folder.

I tryied with the subtree fuction (content read Subtree( customerx ) , Section( Extranet ) but when I login to the root folder (where "customerx" is) I have access denied. It's logical but it don't make my business. sad.gif Emoticon

I'm not sure it's really clear but what I need is help.

thanx

laurent

Modified on Wednesday 23 July 2003 7:59:43 pm by laurent le cadet

Thursday 24 July 2003 7:53:45 am

What you need to do is to assign each and every subfolder to it's own section. Then you need to assign a role to the user, that specifies which section(s) he is allowed to read.

Regards Bjørn

Thursday 24 July 2003 8:23:56 am

Thanks.

But that's what I don't want to do cause at least I need about 100 differents users. That's why I need to group them in a folder wich belong to one section to keep the admin clear.

Is there another way ?

Thursday 24 July 2003 9:06:55 am

Assuming you have this structure:

Root
-----Extranet
---------------Customer Folder 1
---------------Customer Folder 2
---------------Customer Folder 3

and so on.

And for customer 1 you have given them permissions to access their folder, using the subtree, and the main Extranet folder.

If you want to move the user to their area look at this document, for redirecting after login. This tip can be used in your custom login.tpl page (overriding the standard tpl).

http://ez.no/developer/ez_publish...redirecting_after_content_publishing

Im not sure about your permissions at the top level... Did you make sure your roles are stored correctly? Does it work for admin?

paul

Modified on Thursday 24 July 2003 9:07:50 am by Paul Forsyth

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from