Sharing: Optionally show warning that links are public
authorMarkus Goetz <markus@woboq.com>
Thu, 4 May 2017 09:31:24 +0000 (11:31 +0200)
committerMarkus Goetz <markus@woboq.com>
Wed, 10 May 2017 13:41:58 +0000 (15:41 +0200)
For https://github.com/owncloud/enterprise/issues/1914

src/gui/sharelinkwidget.ui

index 9749a6990ece83eccc4273f97b564faece6009c0..a04511c03495a3ffacce4196cc4cb0f7ed2ed7b4 100644 (file)
@@ -7,13 +7,26 @@
     <x>0</x>
     <y>0</y>
     <width>376</width>
-    <height>375</height>
+    <height>493</height>
    </rect>
   </property>
   <property name="windowTitle">
    <string>Share NewDocument.odt</string>
   </property>
   <layout class="QVBoxLayout" name="verticalLayout">
+   <item>
+    <widget class="QLabel" name="publicLinkWarningLabel">
+     <property name="text">
+      <string>Anyone with the link has access to the file/folder</string>
+     </property>
+     <property name="textFormat">
+      <enum>Qt::PlainText</enum>
+     </property>
+     <property name="wordWrap">
+      <bool>true</bool>
+     </property>
+    </widget>
+   </item>
    <item>
     <layout class="QHBoxLayout" name="horizontalLayout_create">
      <item>