|
Home > Archive > WebSphere Portal Server > December 2006 > Assign access thru xml access
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Assign access thru xml access
|
|
| Bala Labhishetty 2006-11-29, 7:24 pm |
| I want to assign permission for portlets. This can be done using portal admin screen. Is it possible to do the same with xml access script.
I found one article (related to wps4.x) from IBM site which explains about access-right tag to assign permission for resources. Is this applicable for portal5.1 environment or not? Here is the url
http://www-128.ibm.com/developerwor...ru/konduru.html
Thanks & Regards,
Bala
| |
| Marc van Glabbeek 2006-12-01, 7:26 am |
| Hi,
This is partly applicable. Of course it is still possible to set access rights using XMLAccess, but the syntax of both the XMLAccess batch file and the XML file itself has been changed.
In the Infocenter, you can find limited information about the XML configuration interface: http://publib.boulder.ibm.com/infoc...s/admxmlai.html
I recommend to create a full export of your portal to see the syntax of the XML to set the access rights. To create an export, see http://publib.boulder.ibm.com/infoc...dmxmsmp__export
At last, a small example to set access rights:
<web-app action="update" active="true" removable="true" uid="***">
<access-control externalized="false" owner="***" private="false">
<role actionset="Administrator" update="set">
<mapping subjectid="***" subjecttype="user_group" update="set" />
<mapping subjectid="***" subjecttype="user_group" update="set" />
</role>
</access-control>
<portlet-app action="update" active="true" name="***" uid="***">
<access-control externalized="false" owner="***" private="false">
<role actionset="User" update="set">
<mapping subjectid="***" subjecttype="user_group" update="set" />
<mapping subjectid="***" subjecttype="user_group" update="set" />
</role>
</access-control>
</portlet-app>
</web-app>
| |
| Bala Labhishetty 2006-12-01, 1:20 pm |
| Thanks Marc,
Even I am able to locate some examples (in wps5.0.2) in ibm infocenter.
Thanks & Regards,
Bala
|
|
|
|
|