Revert "Fixed bug in roles saving"

This reverts commit d91b25795868297130fe72aa2df308c9701906d6.