Permission extraction