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

Commit 397c76f

Browse files
committed
Restrict edit action allowedMimes in ajxp_conf driver.
1 parent 6dcf9fc commit 397c76f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/plugins/access.ajxp_conf/ajxp_confActions.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@
360360
actionBar="true" contextMenu="true" infoPanel="true"
361361
actionBarGroup="get" inZip="false">
362362
</context>
363-
<selectionContext dir="true" file="true" recycle="false" unique="true" allowedMimes="AJXP_MIMES_EDITABLE" behaviour="disable"/>
363+
<selectionContext dir="true" file="true" recycle="false" unique="true" allowedMimes="user,user_editable,repository,repository_editable,role,group,ajxp_plugin,ajxp_role,ajxp_graphs,datagrid" behaviour="hidden"/>
364364
</gui>
365365
<rightsContext noUser="true" userLogged="only" read="true" write="true" adminOnly=""/>
366366
<processing>
@@ -445,7 +445,7 @@
445445
actionBar="true" contextMenu="true" infoPanel="false"
446446
actionBarGroup="get" inZip="false">
447447
</context>
448-
<selectionContext dir="true" file="true" recycle="false" unique="false" allowedMimes="user_editable,repository_editable,role,group" image="false" editable="false"/></gui>
448+
<selectionContext dir="true" file="true" recycle="false" unique="false" allowedMimes="user_editable,repository_editable,role,group" image="false" editable="false" behaviour="hidden"/></gui>
449449
<rightsContext noUser="true" userLogged="only" read="true" write="true" adminOnly=""/>
450450
<processing>
451451
<clientCallback prepareModal="true"><![CDATA[

0 commit comments

Comments
 (0)