diff --git a/applications/luci-app-aliyundrive-fuse/luasrc/model/cbi/aliyundrive-fuse/client.lua b/applications/luci-app-aliyundrive-fuse/luasrc/model/cbi/aliyundrive-fuse/client.lua index d2e29a57cd2..7d08f6f4e5f 100644 --- a/applications/luci-app-aliyundrive-fuse/luasrc/model/cbi/aliyundrive-fuse/client.lua +++ b/applications/luci-app-aliyundrive-fuse/luasrc/model/cbi/aliyundrive-fuse/client.lua @@ -23,6 +23,10 @@ read_buffer_size.datatype = "uinteger" domain_id = e:option(Value, "domain_id", translate("Domain ID")) domain_id.description = translate("Input domain_id option will use Aliyun PDS instead of AliyunDrive") +allow_other = e:option(Flag, "allow_other", translate("Allow Other users Access")) +allow_other.description = translate("Allow other users to access the drive, enable this if you share with samba") +allow_other.rmempty = false + debug = e:option(Flag, "debug", translate("Debug Mode")) debug.rmempty = false diff --git a/applications/luci-app-aliyundrive-fuse/po/zh-cn/aliyundrive-fuse.po b/applications/luci-app-aliyundrive-fuse/po/zh-cn/aliyundrive-fuse.po index 549388894e7..0822aad2b78 100644 --- a/applications/luci-app-aliyundrive-fuse/po/zh-cn/aliyundrive-fuse.po +++ b/applications/luci-app-aliyundrive-fuse/po/zh-cn/aliyundrive-fuse.po @@ -48,3 +48,9 @@ msgstr "阿里云相册与云盘服务 domainId" msgid "Input domain_id option will use Aliyun PDS instead of AliyunDrive" msgstr "填写此选项将使用阿里云相册与网盘服务而不是阿里云盘" + +msgid "Allow Other users Access" +msgstr "允许其他用户访问" + +msgid "Allow other users to access the drive, enable this if you share with samba" +msgstr "允许其他用户访问此驱动,如果你想用Samba分享请开启此开关"