hi,Dennis
Thank u very much for ur reply. It's very kind of u.What I want is
when a new user(A) is created based on role B,the pages under _role/B/ is
deep copied to _user/A/, then the user A can modify his pages freely without
worrying about affecting others. So which profile rule should be applied for
the creating of user A.
Regards
Juan Yang
Dennis Dam wrote:
>
> Hi Yang,
>
> please don't email me directly! Always post through the user list
> ([email protected]), so other people can also benefit
> from answers..
>
> to answer your question, you have to use the right profiling rules to
> determine the pages a user can see. That depends on your requirements,
> do you want users to be able to see pages based on their role, or does
> have every user have their own unique pages? Jetspeed is so flexible
> with respect to profiling, I can't give you a straight answer unless I
> know what you want.
>
> To give an example though, consider the rule "user-role-fallback" which
> is mentioned on
> http://portals.apache.org/jetspeed-2/guides/guide-profiler.html: this
> rule will first look in a user's home dir (/_user/<username>) for a
> portal resource (e.g. a psml), and will fall back to role-based lookup
> (/_role/<rolename>). So a PSML in the _user/ dir will override a PSML
> with the same name in the /_role dir. It sounds like what you want?
>
> Dennis
>
> [EMAIL PROTECTED] wrote:
>> hi,Dennis
>> Thank u for ur reply.and I am sorry for my offence.After studying the
>> resource u gived me before, i am still confused. And now I am trapped by
>> the scenario.if I create a folder named after a rolename under
>> /page/_role/, then when a user of this role type is created, a new folder
>> named after the new username is also created under /page/_user/ and the
>> content of the new folder is similar to the folder under
>> /page/_role/rolename. so which profile rule can satisfy my need.thank u
>> very much.
>>
>> Regards
>> Juan Yang
>> Dennis Dam wrote:
>>
>>> Hi Juan,
>>>
>>> The profile rules for a user defines which portal resources (e.g. PSML
>>> pages) are being loaded for the user, based on different criteria. See
>>> http://portals.apache.org/jetspeed-2/guides/guide-profiler.html for a
>>> full explanation.
>>>
>>> Dennis
>>>
>>> PS The questions you have been asking typically belong to the user list,
>>> can you post them there from now on?
>>>
>>> yangwawa wrote:
>>>
>>>> hi,all
>>>> I have found when admin create a new user he has to choice what the
>>>> profile
>>>> rule that will be applied into the new user, so how the user profile
>>>> affect
>>>> the user's character. thank u very much.
>>>> Juan Yang
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>
>>>
>> Quoted from:
>> http://www.nabble.com/what%27s-the-user-profile-rule-make-sense-tf4856382.html#a13908783
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Re%3A-what%27s-the-user-profile-rule-make-sense-tf4861344.html#a13911876
Sent from the Jetspeed - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]