diff --git a/luciexpress/htdocs/plugins/wifi/widgets/uci.wireless.interface.js b/luciexpress/htdocs/plugins/wifi/widgets/uci.wireless.interface.js
index 158088164..8f7a56ece 100644
--- a/luciexpress/htdocs/plugins/wifi/widgets/uci.wireless.interface.js
+++ b/luciexpress/htdocs/plugins/wifi/widgets/uci.wireless.interface.js
@@ -10,7 +10,7 @@ $juci.module("wifi")
replace: true,
require: "^ngModel"
};
-}).controller("WifiInterfaceController", function($scope, $uci, gettext){
+}).controller("WifiInterfaceController", function($scope, $uci, $tr, gettext){
$scope.errors = [];
$scope.$on("error", function(ev, err){
ev.stopPropagation();
@@ -18,7 +18,9 @@ $juci.module("wifi")
});
$scope.$watch("interface", function(value){
try {
- $scope.cryptoChoices = $scope.interface.encryption.schema.allow;
+ $scope.cryptoChoices = $scope.interface.encryption.schema.allow.map(function(x){
+ return { label: $tr("wifi.enc."+x), value: x };
+ });
} catch(e) {}
$scope.devices = $uci.wireless["@wifi-device"].map(function(x){
// TODO: this should be a uci "displayname" or something
diff --git a/luciexpress/share/acl.d/luci2.json b/luciexpress/share/acl.d/luci2.json
index 94fa6b739..d1e347fa3 100644
--- a/luciexpress/share/acl.d/luci2.json
+++ b/luciexpress/share/acl.d/luci2.json
@@ -131,7 +131,8 @@
"pbc",
"showpin",
"stapin",
- "status"
+ "status",
+ "stop"
],
"router": [
"networks"
@@ -163,7 +164,8 @@
"pbc",
"showpin",
"stapin",
- "status"
+ "status",
+ "stop"
]
},
"uci": [