Config whether to use permission