Added roles for object in relation into database, but without sorting yet. ( 37f215e2381761b304ef2a7e53b5c7b2352a5333 )