Table of Contents
In order to create a caGrid Portal administrative account, we will need valid caGrid credentials. If you already have an account with the NCICB Dorian Identity Provider (IdP), or with the NCICB AuthenticationService IdP (i.e. you have an NIH account), then you do not need to create a new caGrid account. If you don't have either of these accounts, you can create a new caGrid account through the portal.
To create a new account, go to the REGISTER tab, and enter the required information. When you have successfully completed the registration, you will immediately have a caGrid account, but you need to login at least once in order to have a caGrid Portal account. Go to the HOME tab and click the Login link. Enter your username and password and click the Login button. You'll see a greeting. Then click the Logout link.
At this point, we've created a caGrid Portal account. Now we need to give this account administrative privileges.
After the portal is installed, there will be a single default administrative user whose username is 'portaladmin'. The password of this user is determined at installation time. See the installation guide for details.
Login as portaladmin by going to: https://<host>:<secure_port>/user/portaladmin/1
NOTE: 'portaladmin' is the default username for the admin user. If you changed the username when installing the portal, then the URL will change accordingly.
NOTE: Make sure you go to the HTTPS version of this URL. Otherwise, the portaladmin password will be sent in clear text across the network, which is a security risk.
You will be presented with the following screen:
In the Login field, enter 'email@example.com'. In the Password field, enter the password for this user. Then press the Sign In button. You will see the following page.
From this page, you can perform all Liferay administrative operations. The Liferay administrative guide is here.
NOTE: That is the 4.2 version. The 4.3 version was not ready at the time of writing.
Scroll down the page to the Enterprise Admin portlet. Then select the Roles tab. You should see a list of role names and one of them should be "Adminstrator". All the way to the right of this row will be some icons. When you mouse over the center icon, a tool-tip will display the text "Assign Members". Click on this icon.
Now you should see the following screen:
Notice that the Current tab is selected. Select the Available tab. In the Available tab, you should see the account that you just created. Select the checkbox next to this account and press the Update Associations button.
Now, sign out by select the "Sign Out" link in the "welcome Portal Admin" drop-down list that is in the upper, right-hand corner of the page. You'll be redirected to the caGrid Portal home page.
The caGrid Portal can be used to maintain an RSS news feed. To edit the new feed you will need to login to the portal using an account that has the Administrators role (see Creating the Administrative User section for details).
After logging in with an Adminstrators account, go to the NEWS tab. In the upper, right-hand corner of the News portlet you'll see the several controls.
When you mouse of the third icon from the left, you should see a tool-tip that displays the text "Preferences". Click on this icon.
Click the Add Channel link. You'll see the New Channel form. Enter the title, link and description. The link should point to some page that describes the channel. News pages are created and maintained outside of the portal.
Once you've entered this information, press the Save button. An "Edit news items" link will appear below the form. Click on this link. Then click the "Add item" link. A form will appear in which you can enter the title, link, width, height, and description of the news item. Again the link must point to a real web page that contains the content. The width and height values control the dimensions of the IFrame that will display the news item to portal users. You should probably use a width of '100%' and a height of '250px'.
The Home page of the caGrid Portal displays a calendar portlet. This is a full featured calendaring application. The calendar contents can be imported and exported using the standard iCal format (http://tools.ietf.org/html/rfc2445).
You must be logged in with an account that has the Administrators role in order to edit the calendar.
Services can be Banned by the Portal Administrator. That means the service is assigned the state of BANNED and they will no longer be discoverable through the portal. However, there may be cases where banned services eventually come back on line. In such cases, the portal will continue to ignore the service. It is then the responsibility of the service owner to recognize that the service is not being displayed in the portal and then contact the portal administrator to request that the service be un-banned.
There is no administrative UI for un-banning services. Instead, there is a command-line tool that can be used for this purpose. To run the tool, you must have access to the cagrid-portal release and the configuration for the target instance.
To un-bann a service, run the following from the cagrid-portal directory:
The tool will prompt you for the operation, either ban or unban, and then the URL of the service. Services can be manually banned by specifying ban as the operation.
The portal requires that user accounts be associated with exactly one email address. However, caGrid users can have multiple sets of grid credentials that are all associated with the same email address. If a user tries to log in with more than one of these sets of credentials, the portal will complain that an account already exists with that email address, and indicate that the user should log in with those credentials instead, or contact the administrator to request that the account be deleted.
To delete a user account, you must go to the portaladmin's private pages. Follow the instructions given in the Creating the Admin User section to log in as portaladmin.
NOTE: If you see messages saying "You do not have the roles required to access this portlet", then you will need to close your browser, re-open it, and try again.
Go to the Users tab of the Enterprise Admin portlet and search for the desired user account. Select the checkbox next to the user's account row, then click the Deactivate button. Then search for the account again, this time selecting No from the Active drop-down list in the advanced search view. Select the checkbox next to the account and click the Delete button.