Access rights test