BRA-31: Fixed bug with empty rights array in ordinary user case