• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

User Access permission through API

 
Dipankar KumarGhosal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
On a project, we are looking to perform a couple of
portal admin functionalities from a custom portlet. 1) Assign
portal page permissions & 2) Assign unique URLs to existing
portal pages. Is there a portal API(s) that will allow us to
do this from a custom portlet. The basic flow is as follows:

1. Site admin creates a new portal page.
2. A deployment person uses a custom portlet to register a
new company for access to the ABC portal.
3. The custom client registration portlet creates an LDAP
group to represent the new company.
4. The deployment person selects a portal page that the
company will use and the custom portlet assigns rights to
that page for the new company LDAP group.
5. Custom portlet then creates a unique URL for the selected
page branded for use by the company. Example:
www.abc.com/wps/myportal/COMPANY1

We can of course do this using the OOTB(Out of box) portlet but we are
trying to minimize the work the deployment role has to do
when setting up a new company for access to the abc portal.

Any info will be helpful

In a nutshell, we need to provide a friendly interface that provides a subset of Admin console features..(like assigning access for pages/portlets to groups)...
I am using WebSphere portal 6.1.
[ November 25, 2008: Message edited by: Dipankar KumarGhosal ]
 
Dipankar KumarGhosal
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this solution sound somewhat more practical.
I did not find much success with any APIs.

1) Create a group in ldap for each artifcat: Like pages,portlets.This task will be done by Portal Admin at the time of deploying the application.
Example:
Page : MyHomePage
Portlets: MyProfilePortlet,MyPreferencesPortlet

Here the Portal Admin will create groups for each artifact.
Example: Group Name
MyHomePage
MyProfilePortlet
MyPreferencesPortlet

and assign access to the artifcats to the above created groups.
The Customer admin will have an interface showing the available Users and available groups (Mapping to Users and Artifcats respectively)

The customer Admin will select the user and check /Uncheck the groups (Read:Artifacts) he wishes to give/revoke access to.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic