Adding application permissions