Setting permissions with the numerical method