Commit a80a954c authored by Elias Englmeier's avatar Elias Englmeier
Browse files

added owner defaults

parent 02232d3a
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
## ##
build.namespace=ANALYSIS build.namespace=ANALYSIS
build.number=88 build.number=89
build.date=1525249567016 build.date=1525420632696
build.auto.upgrade=true build.auto.upgrade=true
\ No newline at end of file
...@@ -17,14 +17,25 @@ Mapping 7.0.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7 ...@@ -17,14 +17,25 @@ Mapping 7.0.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7
</supports> </supports>
<site-member-defaults> <site-member-defaults>
<action-key>ADD_DISCUSSION</action-key> <action-key>ADD_DISCUSSION</action-key>
<action-key>UPDATE_DISCUSSION</action-key>
<action-key>VIEW</action-key> <action-key>VIEW</action-key>
</site-member-defaults> </site-member-defaults>
<guest-defaults> <guest-defaults>
<action-key>ADD_DISCUSSION</action-key> <action-key>ADD_DISCUSSION</action-key>
<action-key>VIEW</action-key> <action-key>VIEW</action-key>
</guest-defaults> </guest-defaults>
<guest-unsupported /> <guest-unsupported>
<action-key>DELETE_DISCUSSION</action-key>
<action-key>EXPIRE</action-key>
<action-key>UPDATE</action-key>
<action-key>UPDATE_DISCUSSION</action-key>
</guest-unsupported>
<owner-defaults>
<action-key>ADD_DISCUSSION</action-key>
<action-key>DELETE_DISCUSSION</action-key>
<action-key>UPDATE</action-key>
<action-key>UPDATE_DISCUSSION</action-key>
<action-key>VIEW</action-key>
</owner-defaults>
</permissions> </permissions>
</portlet-resource> </portlet-resource>
</resource-action-mapping> </resource-action-mapping>
\ No newline at end of file
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
## ##
build.namespace=GB build.namespace=GB
build.number=109 build.number=110
build.date=1525249571373 build.date=1525420636990
build.auto.upgrade=true build.auto.upgrade=true
\ No newline at end of file
...@@ -346,7 +346,6 @@ public class IdeasLocalServiceImpl extends IdeasLocalServiceBaseImpl { ...@@ -346,7 +346,6 @@ public class IdeasLocalServiceImpl extends IdeasLocalServiceBaseImpl {
} catch (PortalException e) { } catch (PortalException e) {
e.printStackTrace(); e.printStackTrace();
} }
return nextIdea; return nextIdea;
} }
......
...@@ -21,7 +21,6 @@ Mapping 7.0.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7 ...@@ -21,7 +21,6 @@ Mapping 7.0.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7
</supports> </supports>
<site-member-defaults> <site-member-defaults>
<action-key>ADD_DISCUSSION</action-key> <action-key>ADD_DISCUSSION</action-key>
<action-key>UPDATE_DISCUSSION</action-key>
<action-key>VIEW</action-key> <action-key>VIEW</action-key>
</site-member-defaults> </site-member-defaults>
<guest-defaults> <guest-defaults>
...@@ -34,6 +33,13 @@ Mapping 7.0.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7 ...@@ -34,6 +33,13 @@ Mapping 7.0.0//EN" "http://www.liferay.com/dtd/liferay-resource-action-mapping_7
<action-key>UPDATE</action-key> <action-key>UPDATE</action-key>
<action-key>UPDATE_DISCUSSION</action-key> <action-key>UPDATE_DISCUSSION</action-key>
</guest-unsupported> </guest-unsupported>
<owner-defaults>
<action-key>ADD_DISCUSSION</action-key>
<action-key>DELETE_DISCUSSION</action-key>
<action-key>UPDATE</action-key>
<action-key>UPDATE_DISCUSSION</action-key>
<action-key>VIEW</action-key>
</owner-defaults>
</permissions> </permissions>
</model-resource> </model-resource>
</resource-action-mapping> </resource-action-mapping>
\ No newline at end of file
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
## ##
build.namespace=IDEA build.namespace=IDEA
build.number=242 build.number=243
build.date=1525249576087 build.date=1525420641949
build.auto.upgrade=true build.auto.upgrade=true
\ No newline at end of file
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
## ##
build.namespace=PROJECT build.namespace=PROJECT
build.number=154 build.number=155
build.date=1525249578682 build.date=1525420644620
build.auto.upgrade=true build.auto.upgrade=true
\ No newline at end of file
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
## ##
build.namespace=SURVEY build.namespace=SURVEY
build.number=253 build.number=254
build.date=1525249583508 build.date=1525420649816
build.auto.upgrade=true build.auto.upgrade=true
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment