on 07-13-2006 8:55 AM
Hi,
i would like to use the document versioning in the km, but only the admins are supposed to do enable/disable the versioning. i can show the versioning button only in the admin explorer, but everyuser can enable/disable the versioning with the uicommands. can i control the permission of using the uicommand, about roles, etc.
we use ep6.0 sp2!
thx
christian
Message was edited by: Christian Brands
Hi Christian,
yes, you can control the visibility of UI commands for only specific roles by entering the role pcd-id in the command parameter "Roles with Visibility" as specified <a href="http://help.sap.com/saphelp_nw04/helpdata/en/9d/233f989a5ba64fa44ed6e0823286ee/content.htm">here</a>.
Hope it helps,
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
I guess that's an important information then
Before this parameter was introduced, there was no other solution than creating two different Layout Sets (one with the permission relevant commands, the other without them) and assigning them to different navigation iViews, one of them used in the "administrative" role, the other in the "end-user" role. So you needed actually two different roles with the same content (navigation iViews) but different Layout Sets.
Hope this helps,
Robert
hi robert,
thx for your reply, but with two roles and different layout sets, i can only control the visibility of the button "versioning" in the layout set, but not the uicommand self. users which don't see the button "versioning", can although use the uicommand (?command=versioning). is that right?
thx
christian
Hi Christian,
no, it's not that easy as you mentioned to access the uicommand. (?command=versioning) will not work. You would need to implement something for starting a UICommand on the IResource (a interaction on the Layout Controller level would be possible for example.)
So without some special implementation the users will not be able to access the UICommand if they can't open the folder with a LayoutSet the shows the command.
Hope this helps,
Robert
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.