Fixed group and access rights inheritance bugs.