Chapter 9. Personalization

Some readers might want to start reading this book with this chapter as it looks like an introduction into using Redmine. But, I believe, it's not an introductory chapter. Usually, you first get used to the place and then unpack your boxes. Unpacking your boxes and making Redmine your "home" application is what, actually, this chapter is about.

This is the first time we speak about Redmine from a user's perspective:

  • What can users do to improve their experience with Redmine?
  • How can users get quick access to the needed functionality?
  • How can users be sure that they won't miss important updates?

These are only some of the questions that will be answered in this chapter.

While the previous chapter was intended mainly for project managers and administrators, this one is intended for all users. For project managers and site owners, this chapter also gives an idea of what users need in order to have a better experience with Redmine.

In this chapter we will cover the following topics:

  • Automatic account creation
  • Gravatar
  • Personal page
  • Getting updates
  • Personalizing issue list

Automatic account creation

The fact that we review the account creation process in this chapter seems pretty confusing. After all, the majority of readers, I believe, have already created accounts or own the default one, which is "admin" (I want to believe, that the former "admin"). However, under this topic we will review not the ordinary registration, but account creation, which does not actually involve filling in any registration form. So this topic is not intended for new comers, instead it will be of interest for site owners and administrators.

In case you did not know, many users try to avoid registering on every new site. There are many reasons for this:

  • They don't trust the site and do not want to share their e-mail addresses, passwords, and so on
  • They do not want to remember another username and password and do not want to use the same credentials, they are using on other sites
  • They see no weighty reasons for creating an account on the site, and so on

Tip

The last mentioned reason gives a hint towards the solution—make sure your potential users do know the benefits of registering on your site.

But, Redmine can make account creation easier and liberate from the need to remember a new password. It supports at least two technologies for this—OpenID and LDAP.

OpenID

OpenID is an open standard for authentication, which involves the OpenID identity provider as an authentication server. Thus, users do not store the password on the Redmine server. Instead OpenID users get redirected to the OpenID provider, where they authenticate and get returned back authenticated if successful.

The great thing is that the OpenID provider can be any Internet host and this protocol is supported by industry giants such as Google and Yahoo, which means that you can authorize using, for example, your Google account in Redmine. The drawback of this authentication solution is that you need to specify the URL of the OpenID provider.

OpenID

Tip

Google OpenID URL is https://www.google.com/accounts/o8/id.

After putting the URL into the OpenID URL field the user clicks on the Login button and gets redirected to the OpenID provider. Then the provider usually asks for credentials of the user in the provider's system. After users login, or if users are already logged in, the provider asks to confirm that they really want to grant Redmine access to their profile. In the following screenshot, check how Google does this:

OpenID

In particular, to create the user's profile, Redmine will need the full name and e-mail address. Redmine won't ask for or store the password and won't be provided with the password! The newly created user will have the same username the user has in the OpenID provider's system.

Tip

How to unauthorize Redmine in your Google profile?

You can revoke access to your Google account for Redmine in your Google profile using Account | Security | Authorize applications and sites.

Depending on Redmine settings after successful authorization on the OpenID provider you will be:

  • Asked to activate your Redmine account using data sent to you by e-mail, if the Self-registration option in Administration | Settings | Authentication is set to account activation by email.
  • Asked to wait for your new account to be manually approved by the Redmine administrator, if the Self-registration option is set to manual account activation.
  • Logged into your new Redmine account, if the Self-registration option is set to automatic account activation.
  • Asked to fill in some additional data for your new account (the password and the username among them), which actually indicates that there was a problem in Redmine's OpenID stack, which did not allow you to use the OpenID provider to login.

Tip

At the time of writing this topic, the native Redmine OpenID support does not work, at least for Google, so you may need the OpenID Fix plugin available at http://projects.andriylesyuk.com/projects/openid-fix.

The fact that any host can be an OpenID provider, of course, can become the reason for not using OpenID (or for using it along with manual or e-mail account activation). For example, if you use Redmine as a corporate project management application. But don't be in a hurry to get upset!

Tip

Do not require users to enter OpenID URL

Entering and remembering or copying and pasting the OpenID URL each time the user logs in whittles down the benefits of this authentication method. Luckily Jorge Barata Gonzalez created the plugin, which allows you to pick up the URL from the "selector" containing the most popular OpenID providers, including but not limited to Google, Yahoo, AOL, LiveJournal, WordPress, and so on. See the following Github page for more information:

https://github.com/mconf/redmine_openid_selector

LDAP

LDAP is the open protocol for accessing active directory services. Such services are commonly used for storing usernames and passwords and, therefore, LDAP, as a protocol is used for authentication. Most known directory services servers are OpenLDAP and Microsoft Active Directory and, yes, using LDAP you can connect Redmine to the Microsoft AD domain.

Note

In addition, directory services can be used for storing other user profile properties like Language but Redmine is limited in supporting this (for example, there is no way to select LDAP attributes for user custom fields).

Unlike OpenID, to support a directory server, administrators must manually add the server into Redmine using Administration | LDAP authentication | New authentication mode. Moreover, Redmine allows you to add many LDAP servers, each of which will be tried when a new user logs in. If the On-the-fly user creation option is checked for the server, Redmine will create the account for the user on the first login but will still use the password stored on the server.

The login process for LDAP users (unlike OpenID) does not differ from the login process of local users.

Tip

User/Group synchronization

Ricardo Santos created the LDAP Sync plugin, which can perform user and group synchronization. See the following Github page for more information:

https://github.com/thorin/redmine_ldap_sync

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset