Full support of storage roles

Missing patches that makes UI work with storage roles well.