id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
9943	Add group-based configurable login page	rjollos	hasienda	I've been using the GroupBasedRedirectionPlugin to redirect users in specific groups to a login page other than WikiStart. The source for the plugin can be found on !GitHub, [https://github.com/daltonmatos/trac-plugins/tree/master/GroupBasedRedirectionPlugin here]. The plugin implements a component that acts as the `default_handler` (see t:TracIni#trac-section) for requests to the base URL and allows the login page to be specified for each group. For example, given the groups: `managers`, `devs` and `vnv` the following configuration:\r\n{{{\r\n[group-based-redirection]\r\nbase_url = wiki/%s\r\nblack_list = managers\r\n}}}\r\nwould result in the following redirections:\r\n{{{\r\ndevs -> wiki/devs\r\nvnv -> wiki/vnv\r\nmanagers -> wiki/WikiStart\r\n}}}\r\nThe documentation for the GroupBasedRedirectionPlugin can be found [https://github.com/daltonmatos/trac-plugins/blob/master/GroupBasedRedirectionPlugin/README.markdown here].\r\n\r\nThis is a nice start, but it is not very flexible. A more flexible scheme would be to allow the login page to be specified for each group. For example,\r\n{{{\r\n[account-manager]\r\nbase_url.devs = wiki/SwDevs/WikiStart\r\nbase_url.vnv = wiki/VnV/WikiStart\r\nbase_url.managers = timeline\r\n}}}\r\n\r\nThere is probably a better way to specify the login page for each group, such as storing in the database, but this represents the basic idea I'm starting with.\r\n\r\nIt seems like this feature would fit well in the AccountManagerPlugin. I've contacted the author of the GroupBasedRedirectionPlugin to request that he add a license, preferably BSD or some other license that doesn't restrict incorporating code into the AccountManagerPlugin, so that code might serve as a starting point.	enhancement	new	normal	AccountManagerPlugin	normal				0.11
