added key permission settings