authorization rebuild