- Home
- DevShare
- Forums
- Wiki
- Products & Services
- Downloads
- Documentation
- Webinars
- Store
- Blog
In this lesson you will create users and security roles. You will then specify which users and members of which security roles can access each report and report document. This lesson demonstrates:
Contents |
A user is a person who uses the system. Each user has an account and a home folder. Privileges control what the user can see and do on the server. Previous lessons used the special Administrator user that has full access to all resources on the server.
As your reporting application grows, it becomes tedious to assign security to each user individually. To simplify security administration, iServer Express uses a role-based system for assigning priviledges. You can, for example, create a Finance role that grants access to financial reports only to people within the proper department.
Previous lessons showed the iPortal end-user interface to iServer. This lesson explores Management Console: the web-based administrative user interface for iServer Express. It includes pages for working managing users, security roles, e-mail notification groups, and access privileges. Privileges can be set on reports, report documents, and folders. Management Console also incorporates all of the iPortal functionality discussed earlier.
The Management Console login screen appears:
The login options here are the same as those discussed in the Log into iServer Express using iPortal lesson. Let's log in as administrator using the password you set in an earlier lesson.
The Files & Folders listing for the Administrator's home folder appears. The PDF file created in the previous lesson should appear in the list.
Our first administrative task is to create some users.
You will see just the default user, Administrator, listed so far.
The user page appears and displays the “General” tab. Let's enter information for a sample user:
The page should now look like this:
iServer Express creates the user. It also creates the user's home folder if it does not exist. The permissions on the new folder allow only this user access. (The Administrator, of course, has access to all folders.)
After you’re finished, the listing of users looks like this:
The contents of the Home folder are now as follows:
Users gain privileges in one of two ways. First, you can grant privileges directly to each user. However, if several users will have the same privileges based on their position within the organization, it is more convenient to first define a role with the privileges, then assign that role to the proper users. This is the approach we'll take here to create a Finance role.
The following list appears. It contains a set of system roles defined by iServer Express itself.
The "Administrator" role allows you to assign administrative privileges to named users. The other roles cover specialized tasks discussed in the product documentation.
Let's add a sample role.
The new security role, “Finance” will now appear in the Security Roles listing.
Now that we have the role defined, we have to give Bill the Finance role.
Next, we want to restrict access to certain reports to only those users with the Finance role.
A drop-down menu appears.
The report properties appear.
Right now the Customer Dashboard report is available to everyone. Global access is granted using the All role. Since we want to restrict access, let's remove the All role from the Customer report.
At this point, no one but the Administrator has access to the report. Now, let's allow just members of the “Finance” role to run this report. Then, we have to decide which privileges to grant to Finance. There are three.
Since the Customer Dashboard report is a report executable, we must assign all three privileges:
We just modified the access privileges on the “Customer Dashboard” report so that only users in the Finance role can see it or run it. Bill is a member of Finance, so he should be able to see and run it. Sue should not be able to see it. Let’s test it out.
Notice that the “Customer Dashboard” report is not visible to user Sue.
Notice that the only folder visible to this user is “Sue,” the home folder of this particular user. There are two other folders in Home that this user cannot see: “administrator” and “Bill”. This is because, by default, each user's home folder is visible only to that one user.
Now, let's see what Bill sees. He has the Finance role, and so should see the Customer report.
The user Bill can see the “Customer Dashboard” report in the Documents listing.
Run the Customer Dashboard report as Bill and view the results. This verifies that Bill has all the required privileges.
The following product manual at http://www.birt-exchange.com/modules/documentation/ provides more information.
The same documentation is available in your iServer Express install:
You can simply click on the Help link on each of the iPortal pages to get help with that specific page.