fix check rights to view objects