Update PermissionsPanel.java

fixing errors