Skip to Content
author's profile photo Former Member
Former Member

Roles and subroles

I have a role in the portal with several worksets and pages attached to it. This works fine and the pages in the role hierarchy are only visible in the Detailed navigation if the user belongs to the role. My problem is that I want to be able to use subroles within this base role. I have tried to solve this by adding subroles with connected pages to the base role in the base roles page hierarchy.

What I want to achieve: if a user belongs to the base role he should see everything in its page hierarchy except the page belonging to the subrole. If he belongs to both the base role and the subrole he will see everything, including the page belonging to the subrole.

How do I achieve this? Adding subroles to a base role doesn't seem to solve this, all pages (including the ones you're not supposed to see) are always visible if you belong to the base role.

Thankful for help!

/Oskar

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2005 at 02:27 PM

    Hi Oskar

    Create 2 Roles:

    BaseRole

    -


    Workset A (with Entrypoint A)

    -


    Page A

    -


    Page B

    -


    Page C

    -


    Page D

    -


    Page F

    SubRole

    -


    Workset A (with Entrypoint A)

    -


    Page E

    BaseRole and SubRole have the same Entrypoint (A) with the same MergeID. For all Subnodes use the same MergeID to merge them. To sort the Pages when both roles are applied to a user use "Sort Priority".

    Hope this helps

    Regards Nicolaj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 13, 2005 at 07:33 AM

    Hi Oskar

    If you add your Subrole to the Base Role then you will definitely be able to see the Pages on the Subrole. There is no way out. I am not sure why you would want to add the Subroles to the Main roles when do not want the users to see the contents on the Subroles at all. Could you please elaborate on why you'd want to do that?

    Best Regards

    Priya

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 13, 2005 at 07:39 AM

    Hi Oskar,

    First of all welcome to SDN family. NOw about your question.

    You can do one thing. Just Create the Groups having the required roles you want. For example:

    <b>Group1</b>- Assign Base role.

    <b>Group2</b>- Assign Sub role.

    And then assin the users to these gropus. Now what will hapeen is that if the user belonging to the <b>Group1</b> he will see the everything which is assigned to the <b>Base role</b>. And simmilarly the user belonging to the <b>Group2</b> will the all the content belonging to the <b>SubRole</b>.

    I think this will help you and solve your problem. If some more clarification required then please revert back.

    Regards

    Pravesh

    PS: Please consider rewarding points on SDN.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Oskar

      From what I see, I understand that you are adding a Workset A (with the pages A, B, C, D & F visible) to BaseRole as well a SubRole with the Page E. And suppose the user does not belong to Subrole, he shouldn't be able to see the Page E at all, am I right?

      Ok, here is a question that want to clarify. If the user does not belong to the SubRole, then why add it to the BaseRole at all?

      You can hide the Subrole by setting its Entry Point to No. But then if you have User Y who belongs to both the BaseRole as well as the SubRole, he will not be able to see the SubRole either. Which is why I suggested ealier that you create a different role for those users who belong to theBaseRole alone and not the SubRole.

      Hope that answers your question.

      Best Regards

      Priya

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.