Keeping the payroll repository from showing up if the user does not have access to it.
If a user does not have access to a repository, that repository will not show up and the lists of repositories will not appear if there is only one repository that they have access to. If there is only one repository available, the tab that shows the list of repositories is not even displayed and the user goes directly to the Advanced Search.
For example:
There are two databases. One is for everyone (REPORTS) and the payroll database (PAYROLL) is restricted to a few people.
There are two roles defined. One for REPORTS and one for PAYROLL.
The REPORTS role only sees reports.
The PAYROLL role sees reports and payroll.
The PAYROLL repository is configured so that only System Admin role and the PAYROLL role can view it.
If a user can view more than one repository, or a user has more than one role, the default repository or role may be changed by the user themselves. The one that is selected when they log off is the one they will see when then log back in.