In order to keep a Trac instance entirely private except for authenticated users, it is common practice to remove the WIKI_VIEW
permissions for anonymous users. When this is done however, a new user arriving at the Trac instance will be greeted with a rather unfriendly message:
WIKI_VIEW privileges are required to perform this operation on WikiStart
A more user-friendly welcome might be to instead redirect unauthenticated users to the login prompt to enter their login credentials, thereby avoiding the unfriendly error message. It is possible to enable this by activating the TracPermRedirect plugin in your Trac instance.
This plugin is already installed at ProjectHut, so all you need to do is enable it. You can do this by following these steps:
admin/
area of your account).TRAC_ADMIN
permissions to the User by using the Trac Permissions page of the Control Panel.TRAC_ADMIN
User, and click on the Admin tab.With this plugin now enabled, all new unauthenticated visitors to your Trac instance will be automatically redirected to the login prompt, thereby avoiding the unfriendly “Error: Forbidden” message.
You must be logged in to post a comment.