Set plugin permissions.