cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning permissions to iViews

Former Member
0 Kudos

Hi guys,

I have a portal role with 2 iviews - iView A and iView B - assigned directly to it. This portal role is assigned to 2 groups of users whereby User group A should only b able to view iView A and User Group B can only view iView B. Aside from splitting the iViews into 2 different portal roles and assigning each role to each user group, is there any other way I can achieve this via configuration?

I had thought that by modifying the permission on the iViews in PCD would be sufficient but that isn't working.

THanks,

ZM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

you can use home page framework and proxy dynamic class to display the link dynamically based on countries so that you can have only one role with dynamic links

Homepage framework - http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e3a488-cdc2-2b10-209b-e01a0ed93...

proxy dynamic class -

Thanks

Bala Duvvuri

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi GUys,

We're trying to avoid customization and complete this via configuration and have resorted to having multiple portal roles. But thanks all for your contributions and enlightening me on the filtering method which I can use in future! Pts given!

Thanks,

ZM

Former Member
0 Kudos

Hi ,

I think its possible , If you can fetch the iview properties at runtime and modify them then it may work . There is also something known as PCD filtering as mentioned by James but generally its not recommended . Take a look at this blog - .

Regards

Mayank

Former Member
0 Kudos

First, why don't you want to split the iViews into two separate roles? It really is the simplest and most maintainable way to do what you want. If you're worried that your existing role has a lot of other iViews in it, create two new roles -- one for each of the iViews you want to limit access to -- assign them to the appropriate people, and use the merge concept to include them in your existing role.

If for some reason you can't use more than one role, you can use PCD filtering to achieve what you want. It requires quite a bit of custom coding and configuration. Marty McCormick has provided [this PDF|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/5021a57d-0601-0010-6097-ec94a09c626d] explaining what you need to do. You might also want to read [this blog|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6340] [original link is broken]; by Daniel Wroblewski, which explains a caveat you have to keep in mind when filtering: the filter can clash with the navigation cache. Daniel's blog also provides a number of links to presentations about and explanations of the concept, including Marty's PDF.

Filtering is generally a lot more trouble than creating multiple roles, but it should work. I really would recommend, however, that you investigate merging two new roles into your existing role -- it'll save you a lot of headaches later.

MaheshChandra
Active Contributor
0 Kudos

HI ZM,

Go through the below answered forums and links on the same issue.hope you will get solution

https://cw.sdn.sap.com/cw/docs/DOC-107199

https://cw.sdn.sap.com/cw/docs/DOC-102238

[Portal Permissions|http://help.sap.com/saphelp_nw70/helpdata/en/f6/2604f005fd11d7b84200047582c9f7/frameset.htm]

Regards,

Maheshchandra.

Former Member
0 Kudos

Hi,

Assigning different roles to different groups is only best practice.

you mentioned that you set permissions but it didnt match your requirement

Tell what are the steps such that we can tell you the possibility to achieve your requirement.

Regards,

Koti Reddy