Permissions profile

Pull request to make it easier to comment. This is not ready to be merged!!!