Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 317ccb6

Browse files
committed
mkdir and mkfile action do not require "read" right, only "write", otherwise it's not possible to upload a folder in a write-only minisite/share.
1 parent 350f6a3 commit 317ccb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/plugins/access.fs/fsActions.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<context selection="false" dir="true" recycle="hidden" actionBar="true"
5858
contextMenu="true" infoPanel="false" actionBarGroup="put,minisite" inZip="false"/>
5959
</gui>
60-
<rightsContext noUser="true" userLogged="only" read="true" write="true" adminOnly=""/>
60+
<rightsContext noUser="true" userLogged="only" read="false" write="true" adminOnly=""/>
6161
<processing>
6262
<clientCallback prepareModal="true"><![CDATA[
6363
modal.showDialogForm('Create', 'mkdir_form', function(form){
@@ -97,7 +97,7 @@
9797
<context selection="false" dir="true" recycle="hidden" actionBar="true"
9898
contextMenu="false" infoPanel="false" actionBarGroup="create" inZip="false"/>
9999
</gui>
100-
<rightsContext noUser="true" userLogged="only" read="true" write="true" adminOnly=""/>
100+
<rightsContext noUser="true" userLogged="only" read="false" write="true" adminOnly=""/>
101101
<processing>
102102
<clientCallback prepareModal="true"><![CDATA[
103103
modal.showDialogForm('Create', 'mkfile_form', null, function(){

0 commit comments

Comments
 (0)